{"id":"CVE-2026-98651","state":"PUBLISHED","title":"KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()\n\nSome callers pass NULL as oldkey. Calling page_cond_set_storage_key()\nwill cause that NULL pointer to get dereferenced.\n\nFix by checking for NULL and assigning the pointer to a dummy local\nvariable to avoid crashes.","publishedAt":"2026-10-18T15:20:22.978Z","updatedAt":"2026-10-19T09:23:20.711Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8e03e8316eb242af307d1c789d09f1a1457cf9a3","status":"affected","lessThan":"75867536746ab2d034488a6a93ee6cde83553342","versionType":"git"},{"version":"8e03e8316eb242af307d1c789d09f1a1457cf9a3","status":"affected","lessThan":"88e22ffd1e46b95e40a6afabe486deb1d31a3ae1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/dat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/dat.c"]}],"references":["https://git.kernel.org/stable/c/75867536746ab2d034488a6a93ee6cde83553342","https://git.kernel.org/stable/c/88e22ffd1e46b95e40a6afabe486deb1d31a3ae1"],"weaknesses":[],"ingestedAt":"2026-10-29T20:13:43.249Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/98xxx/CVE-2026-98651.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-98651","state":"PUBLISHED","datePublished":"2026-10-18T15:20:22.978Z","dateUpdated":"2026-10-19T09:23:20.711Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-09-25T10:25:14.362Z"},"containers":{"cna":{"title":"KVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nKVM: s390: Properly handle NULL pointer in dat_cond_set_storage_key()\n\nSome callers pass NULL as oldkey. Calling page_cond_set_storage_key()\nwill cause that NULL pointer to get dereferenced.\n\nFix by checking for NULL and assigning the pointer to a dummy local\nvariable to avoid crashes."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"8e03e8316eb242af307d1c789d09f1a1457cf9a3","status":"affected","lessThan":"75867536746ab2d034488a6a93ee6cde83553342","versionType":"git"},{"version":"8e03e8316eb242af307d1c789d09f1a1457cf9a3","status":"affected","lessThan":"88e22ffd1e46b95e40a6afabe486deb1d31a3ae1","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/dat.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"7.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.0","versionType":"semver"},{"version":"7.2.9","status":"unaffected","lessThanOrEqual":"7.2.*","versionType":"semver"},{"version":"7.3","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["arch/s390/kvm/dat.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/75867536746ab2d034488a6a93ee6cde83553342"},{"url":"https://git.kernel.org/stable/c/88e22ffd1e46b95e40a6afabe486deb1d31a3ae1"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-10-19T09:23:20.711Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.2.9"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.0","versionEndExcluding":"7.3"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}