{"id":"CVE-2022-48703","state":"PUBLISHED","title":"thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR\n\nIn some case, the GDDV returns a package with a buffer which has\nzero length. It causes that kmemdup() returns ZERO_SIZE_PTR (0x10).\n\nThen the data_vault_read() got NULL point dereference problem when\naccessing the 0x10 value in data_vault.\n\n[   71.024560] BUG: kernel NULL pointer dereference, address:\n0000000000000010\n\nThis patch uses ZERO_OR_NULL_PTR() for checking ZERO_SIZE_PTR or\nNULL value in data_vault.","publishedAt":"2024-05-03T15:14:07.390Z","updatedAt":"2026-06-01T16:03:42.679Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"722588f17fd3d3a127e50718ec2caf22bd7e9daa","versionType":"git"},{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"39d5137085a6c37ace4680ee4d24020a4a03e7dc","versionType":"git"},{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"dae42083b045a4ddf71c57cf350cb2412b5915c2","versionType":"git"},{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"7931e28098a4c1a2a6802510b0cbe57546d2049d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/intel/int340x_thermal/int3400_thermal.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.189","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.9","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/intel/int340x_thermal/int3400_thermal.c"]}],"references":["https://git.kernel.org/stable/c/722588f17fd3d3a127e50718ec2caf22bd7e9daa","https://git.kernel.org/stable/c/39d5137085a6c37ace4680ee4d24020a4a03e7dc","https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2","https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/48xxx/CVE-2022-48703.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-48703","state":"PUBLISHED","datePublished":"2024-05-03T15:14:07.390Z","dateUpdated":"2026-06-01T16:03:42.679Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-05-03T14:55:07.146Z"},"containers":{"cna":{"title":"thermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/int340x_thermal: handle data_vault when the value is ZERO_SIZE_PTR\n\nIn some case, the GDDV returns a package with a buffer which has\nzero length. It causes that kmemdup() returns ZERO_SIZE_PTR (0x10).\n\nThen the data_vault_read() got NULL point dereference problem when\naccessing the 0x10 value in data_vault.\n\n[   71.024560] BUG: kernel NULL pointer dereference, address:\n0000000000000010\n\nThis patch uses ZERO_OR_NULL_PTR() for checking ZERO_SIZE_PTR or\nNULL value in data_vault."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"722588f17fd3d3a127e50718ec2caf22bd7e9daa","versionType":"git"},{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"39d5137085a6c37ace4680ee4d24020a4a03e7dc","versionType":"git"},{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"dae42083b045a4ddf71c57cf350cb2412b5915c2","versionType":"git"},{"version":"0ba13c763aacb27ab32bde5d559bf40e88465921","status":"affected","lessThan":"7931e28098a4c1a2a6802510b0cbe57546d2049d","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/intel/int340x_thermal/int3400_thermal.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.8","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.8","versionType":"semver"},{"version":"5.10.258","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.189","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.19.9","status":"unaffected","lessThanOrEqual":"5.19.*","versionType":"semver"},{"version":"6.0","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/thermal/intel/int340x_thermal/int3400_thermal.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/722588f17fd3d3a127e50718ec2caf22bd7e9daa"},{"url":"https://git.kernel.org/stable/c/39d5137085a6c37ace4680ee4d24020a4a03e7dc"},{"url":"https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2"},{"url":"https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-06-01T16:03:42.679Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.10.258"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.15.189"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"5.19.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.8","versionEndExcluding":"6.0"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-17T17:39:52.003733Z","id":"CVE-2022-48703","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-17T17:44:38.505Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/dae42083b045a4ddf71c57cf350cb2412b5915c2","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/7931e28098a4c1a2a6802510b0cbe57546d2049d","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T15:17:55.767Z"}}]}}}