What’s Vulnerable › Vulnerabilities
CVE-2022-48703: thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR
- Severity: medium (CVSS 5.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-05-03 · updated 2026-06-17
- Weakness: CWE-476
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.
Affected products
- Linux kernel: before 5.19.9; 6.0-rc1, 6.0-rc2 — fixed in 5.19.9
How to fix
Upgrade to a fixed version: Linux kernel 5.19.9. Check the vendor advisory for mitigations.
References
- https://git.kernel.org/stable/c/39d5137085a6c37ace4680ee4d24020a4a03e7dc
- https://git.kernel.org/stable/c/722588f17fd3d3a127e50718ec2caf22bd7e9daa
- https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d
- https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2
- https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d
- https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2
Get alerted when CVE-2022-48703 or the next vulnerability affects your stack