CVE-2024-42248 tty: serial: ma35d1: Add a NULL check for of_node

Medium 5.5 Published Updated

A missing NULL check in the ma35d1 serial driver can cause a kernel crash when the device tree node is absent, leading to denial of service.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2024-42248?

CVE-2024-42248 is a medium-severity vulnerability in Linux kernel, published on 7 Aug 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

In the Linux kernel, the following vulnerability has been resolved:

tty: serial: ma35d1: Add a NULL check for of_node

The pdev->dev.of_node can be NULL if the "serial" node is absent. Add a NULL check to return an error in such cases.

Weakness: CWE-476

Which versions are affected by CVE-2024-42248?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2024-42248?

Apply the vendor's patch.

Is CVE-2024-42248 being exploited?

There is no known exploitation of CVE-2024-42248 in the wild and no public exploit code.

All Linux kernel vulnerabilities

Sources

Also known as AZL-47501, BELL-CVE-2024-42248, DEBIAN-CVE-2024-42248, GHSA-98x8-x9r6-f88w, UBUNTU-CVE-2024-42248.

Is CVE-2024-42248 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free