CVE-2022-48703

thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR

published May 3, 2024

CVSS
—
EPSS
0%
Percentile
12.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.00229 · 12.9th percentile
Published
2024-05-03T15:14Z
EPSS history
Timeline
  • 03 MAY 15:14Z
    thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR
    cvelistv5