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

- Severity: Medium 5.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2024-05-03T15:14:07.390Z
- Modified: 2026-06-17T05:15:58.043Z
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Linux

## 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.

(As written by CVE List.)

## Affected

- Linux Linux: from 0ba13c763aacb27ab32bde5d559bf40e88465921 before 722588f17fd3d3a127e50718ec2caf22bd7e9daa; from 0ba13c763aacb27ab32bde5d559bf40e88465921 before 39d5137085a6c37ace4680ee4d24020a4a03e7dc; from 0ba13c763aacb27ab32bde5d559bf40e88465921 before dae42083b045a4ddf71c57cf350cb2412b5915c2; from 0ba13c763aacb27ab32bde5d559bf40e88465921 before 7931e28098a4c1a2a6802510b0cbe57546d2049d; 5.8 (not affected: before 5.8; from 5.10.258 up to 5.10.*; from 5.15.189 up to 5.15.*; from 5.19.9 up to 5.19.*; from 6.0 up to *)
- linux linux_kernel: before 5.19.9; 6.0

## References

- <https://git.kernel.org/stable/c/722588f17fd3d3a127e50718ec2caf22bd7e9daa>
- <https://git.kernel.org/stable/c/39d5137085a6c37ace4680ee4d24020a4a03e7dc>
- <https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2> (patch)
- <https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d> (patch)

## Sources

- CVE List: [CVE-2022-48703](https://www.cve.org/CVERecord?id=CVE-2022-48703), CVE Terms of Use, modified 2026-06-01
- NVD: [CVE-2022-48703](https://nvd.nist.gov/vuln/detail/CVE-2022-48703), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-48703 · Whole record: https://cve.day/CVE-2022-48703.json · Rebuilt by cve.day 2026-11-25T22:58:19.806Z
