{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2025-71295","id":"CVE-2025-71295","title":"fs/buffer: add alert in try_to_free_buffers() for folios without buffers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/buffer: add alert in try_to_free_buffers() for folios without buffers\n\ntry_to_free_buffers() can be called on folios with no buffers attached\nwhen filemap_release_folio() is invoked on a folio belonging to a mapping\nwith AS_RELEASE_ALWAYS set but no release_folio operation defined.\n\nIn such cases, folio_needs_release() returns","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nfs/buffer: add alert in try_to_free_buffers() for folios without buffers\n\ntry_to_free_buffers() can be called on folios with no buffers attached\nwhen filemap_release_folio() is invoked on a folio belonging to a mapping\nwith AS_RELEASE_ALWAYS set but no release_folio operation defined.\n\nIn such cases, folio_needs_release() returns true because of the\nAS_RELEASE_ALWAYS flag, but the folio has no private buffer data. This\ncauses try_to_free_buffers() to call drop_buffers() on a folio with no\nbuffers, leading to a null pointer dereference.\n\nAdding a check in try_to_free_buffers() to return early if the folio has no\nbuffers attached, with WARN_ON_ONCE() to alert about the misconfiguration.\nThis provides defensive hardening.","published":"2026-05-06T11:32:25.917Z","updated":"2026-11-17T07:03:35.047831899Z","reserved":"2026-05-06T11:31:45.510Z","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":"d0eafc763135508be118dac208887a26c0adb74d","lessThan":"1b111a69a6e33a922622bf9870e4e63fb2b649c8","status":"affected","versionType":"git"},{"version":"b4fa966f03b7401ceacd4ffd7227197afb2b8376","lessThan":"c1b6227555c52781178132b7a06466711855795c","status":"affected","versionType":"git"},{"version":"b4fa966f03b7401ceacd4ffd7227197afb2b8376","lessThan":"727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3","status":"affected","versionType":"git"},{"version":"b4fa966f03b7401ceacd4ffd7227197afb2b8376","lessThan":"42c32d7571ccd8ef32351cac506f00b0fae99fd2","status":"affected","versionType":"git"},{"version":"b4fa966f03b7401ceacd4ffd7227197afb2b8376","lessThan":"c6246ca15999053d2632fbcc7b86e6eef7f077cb","status":"affected","versionType":"git"},{"version":"b4fa966f03b7401ceacd4ffd7227197afb2b8376","lessThan":"b68f91ef3b3fe82ad78c417de71b675699a8467c","status":"affected","versionType":"git"},{"version":"6.1.72","lessThan":"6.1.165","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.1.165","lessThanOrEqual":"6.1.*","status":"unaffected","versionType":"semver"},{"version":"6.6.128","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.75","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.16","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"6.19.6","lessThanOrEqual":"6.19.*","status":"unaffected","versionType":"semver"},{"version":"7.0","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/1b111a69a6e33a922622bf9870e4e63fb2b649c8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c1b6227555c52781178132b7a06466711855795c","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/727e5140e0cf83b4ce6a11b89bb73bff5d96f8f3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/42c32d7571ccd8ef32351cac506f00b0fae99fd2","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/c6246ca15999053d2632fbcc7b86e6eef7f077cb","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/b68f91ef3b3fe82ad78c417de71b675699a8467c","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/71xxx/CVE-2025-71295.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71295","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.00123,"epssPercentile":0.02113,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2025-71295","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-71295","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2025-71295","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-2025-71295","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}