thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR
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.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 5.10.258, 5.15.189, 5.19.9
- CVEs
- CVE-2022-48703
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 14:29 UTC · Revision 1
Source evidence
thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR
core-osv · Original sourcePublished 3 May 2024, 15:14 UTC
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.
osv:CVE-2022-48703
Kernel
Fixed versions: 5.10.258, 5.15.189, 5.19.9
Complete source record
{
"id": "7a71a062e755fa1bf8de50557cc09e36771348c6842dd84b0e43991ff7125f4e",
"url": "https://osv.dev/vulnerability/CVE-2022-48703",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR",
"summary": "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.",
"evidence": "osv:CVE-2022-48703",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "5.10.258",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.189",
"evidence": "/affected/1/ranges"
},
{
"value": "5.19.9",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "unknown",
"structured": {
"id": "CVE-2022-48703",
"aliases": [
"CVE-2022-48703"
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "0ba13c763aacb27ab32bde5d559bf40e88465921"
},
{
"fixed": "722588f17fd3d3a127e50718ec2caf22bd7e9daa"
},
{
"fixed": "39d5137085a6c37ace4680ee4d24020a4a03e7dc"
},
{
"fixed": "dae42083b045a4ddf71c57cf350cb2412b5915c2"
},
{
"fixed": "7931e28098a4c1a2a6802510b0cbe57546d2049d"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48703.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.8.0"
},
{
"fixed": "5.10.258"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.19.9"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-48703.json"
}
}
],
"modified": "2026-10-28T02:30:51.309883481Z",
"provider": "osv",
"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://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48703.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-48703",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/48xxx/CVE-2022-48703.json"
}
},
"related_cves": [
{
"value": "CVE-2022-48703",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": null
},
"source_id": "core-osv",
"document_id": 519631,
"published_at": "2024-05-03T15:14:07.39+00:00"
}