CVE-2022-48703 thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR

Medium 5.5 Published Updated

A local attacker can cause a kernel crash via null pointer dereference in the int340x thermal driver when handling zero-length data vaults.

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-2022-48703?

CVE-2022-48703 is a medium-severity vulnerability in Linux kernel, published on 3 May 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:

thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR

In some case, the GDDV returns a package with a buffer which has zero length. It causes that kmemdup() returns ZERO_SIZE_PTR (0x10).

Then the data_vault_read() got NULL point dereference problem when accessing the 0x10 value in data_vault.

[ 71.024560] BUG: kernel NULL pointer dereference, address: 0000000000000010

This patch uses ZERO_OR_NULL_PTR() for checking ZERO_SIZE_PTR or NULL value in data_vault.

Weakness: CWE-476

Which versions are affected by CVE-2022-48703?

It affects 1 product.

Products include Linux kernel.

How do I fix CVE-2022-48703?

Apply the vendor's patch.

Is CVE-2022-48703 being exploited?

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

All Linux kernel vulnerabilities

Sources

Also known as AZL-57755, DEBIAN-CVE-2022-48703, GHSA-5w96-cqcp-75r4, ROOT-OS-DEBIAN-11-CVE-2022-48703, ROOT-OS-UBUNTU-2204-CVE-2022-48703, UBUNTU-CVE-2022-48703.

Is CVE-2022-48703 in your software?

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

Check your SBOMs for free