{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35831","id":"CVE-2024-35831","title":"io_uring: Fix release of pinned pages when __io_uaddr_map fails","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: Fix release of pinned pages when __io_uaddr_map fails\n\nLooking at the error path of __io_uaddr_map, if we fail after pinning\nthe pages for any reasons, ret will be set to -EINVAL and the error\nhandler won't properly release the pinned pages.\n\nI didn't manage to trigger it without forcing a failure, but it can\nhappen in ","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nio_uring: Fix release of pinned pages when __io_uaddr_map fails\n\nLooking at the error path of __io_uaddr_map, if we fail after pinning\nthe pages for any reasons, ret will be set to -EINVAL and the error\nhandler won't properly release the pinned pages.\n\nI didn't manage to trigger it without forcing a failure, but it can\nhappen in real life when memory is heavily fragmented.","published":"2024-05-17T13:41:23.171Z","updated":"2026-11-17T07:02:53.431201791Z","reserved":"2024-05-17T12:19:12.348Z","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":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","lessThan":"0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62","status":"affected","versionType":"git"},{"version":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","lessThan":"712e2c8415f55a4a4ddaa98a430b87f624109f69","status":"affected","versionType":"git"},{"version":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","lessThan":"4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a","status":"affected","versionType":"git"},{"version":"223ef474316466e9f61f6e0064f3a6fe4923a2c5","lessThan":"67d1189d1095d471ed7fa426c7e384a7140a5dd7","status":"affected","versionType":"git"},{"version":"3f3164ce6396138747984ee9e61158e248246300","status":"affected","versionType":"git"},{"version":"6.5.7","lessThan":"6.6","status":"affected","versionType":"semver"}],"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.23","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.7.11","lessThanOrEqual":"6.7.*","status":"unaffected","versionType":"semver"},{"version":"6.8.2","lessThanOrEqual":"6.8.*","status":"unaffected","versionType":"semver"},{"version":"6.9","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-401"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/0b6f39c175ba5f0ef72bdb3b9d2a06ad78621d62","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/712e2c8415f55a4a4ddaa98a430b87f624109f69","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/4d376d7ad62b6a8e8dfff56b559d9d275e5b9b3a","tags":["x_transferred","Patch","web"]},{"url":"https://git.kernel.org/stable/c/67d1189d1095d471ed7fa426c7e384a7140a5dd7","tags":["x_transferred","Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35831.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35831","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.00208,"epssPercentile":0.11091,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35831","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35831","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35831","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-35831","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}