{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-41021","id":"CVE-2024-41021","title":"s390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()\n\nThere is no support for HWPOISON, MEMORY_FAILURE, or ARCH_HAS_COPY_MC on\ns390. Therefore we do not expect to see VM_FAULT_HWPOISON in\ndo_exception().\n\nHowever, since commit af19487f00f3 (\"mm: make PTE_MARKER_SWAPIN_ERROR more\ngeneral\"), it is possible to see VM_FAULT_HWPO","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\ns390/mm: Fix VM_FAULT_HWPOISON handling in do_exception()\n\nThere is no support for HWPOISON, MEMORY_FAILURE, or ARCH_HAS_COPY_MC on\ns390. Therefore we do not expect to see VM_FAULT_HWPOISON in\ndo_exception().\n\nHowever, since commit af19487f00f3 (\"mm: make PTE_MARKER_SWAPIN_ERROR more\ngeneral\"), it is possible to see VM_FAULT_HWPOISON in combination with\nPTE_MARKER_POISONED, even on architectures that do not support HWPOISON\notherwise. In this case, we will end up on the BUG() in do_exception().\n\nFix this by treating VM_FAULT_HWPOISON the same as VM_FAULT_SIGBUS, similar\nto x86 when MEMORY_FAILURE is not configured. Also print unexpected fault\nflags, for easier debugging.\n\nNote that VM_FAULT_HWPOISON_LARGE is not expected, because s390 cannot\nsupport swap entries on other levels than PTE level.","published":"2024-07-29T13:34:22.636Z","updated":"2026-10-28T02:30:31.490867090Z","reserved":"2024-07-12T12:17:45.613Z","status":"Analyzed","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"af19487f00f34ff8643921d7909dbb3fedc7e329","lessThan":"73a9260b7366d2906ec011e100319359fe2277d0","status":"affected","versionType":"git"},{"version":"af19487f00f34ff8643921d7909dbb3fedc7e329","lessThan":"9e13767ccefdc4f8aa92514b592b60f6b54882ff","status":"affected","versionType":"git"},{"version":"af19487f00f34ff8643921d7909dbb3fedc7e329","lessThan":"a3aefb871222a9880602d1a44a558177b4143e3b","status":"affected","versionType":"git"},{"version":"af19487f00f34ff8643921d7909dbb3fedc7e329","lessThan":"df39038cd89525d465c2c8827eb64116873f141a","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","lessThan":"6.6","status":"unaffected","versionType":"semver"},{"version":"6.6.44","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.9.12","lessThanOrEqual":"6.9.*","status":"unaffected","versionType":"semver"},{"version":"6.10.2","lessThanOrEqual":"6.10.*","status":"unaffected","versionType":"semver"},{"version":"6.11","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/73a9260b7366d2906ec011e100319359fe2277d0","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/9e13767ccefdc4f8aa92514b592b60f6b54882ff","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/a3aefb871222a9880602d1a44a558177b4143e3b","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/df39038cd89525d465c2c8827eb64116873f141a","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/41xxx/CVE-2024-41021.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41021","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00222,"epssPercentile":0.1311,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-41021","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-41021","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-41021","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-41021","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}