{"id":"CVE-2026-89498","aliases":["CVE-2026-89498"],"related":[],"kind":"vulnerability","state":"published","title":"orangefs: fix double-free of trailer_buf on readdir copy failure","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\norangefs: fix double-free of trailer_buf on readdir copy failure\n\nOn a readdir downcall, orangefs_devreq_write_iter() frees\nop->downcall.trailer_buf with vfree() when copy_from_iter_full() fails,\nbut does not clear the pointer before goto Efault. The waiter in\ndo_readdir() is then woken with a negative status and frees the same\npointer again on its r < 0 path, causing a deterministic double-free.\nA client holding /dev/pvfs2-req triggers it by sending a readdir\ndowncall whose declared trailer_size exceeds the bytes it supplies.\n\nClear the pointer after freeing so the readdir-side vfree() becomes a\nno-op.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\norangefs: fix double-free of trailer_buf on readdir copy failure\n\nOn a readdir downcall, orangefs_devreq_write_iter() frees\nop->downcall.trailer_buf with vfree() when copy_from_iter_full() fails,\nbut does not clear the pointer before goto Efault. The waiter in\ndo_readdir() is then woken with a negative status and frees the same\npointer again on its r < 0 path, causing a deterministic double-free.\nA client holding /dev/pvfs2-req triggers it by sending a readdir\ndowncall whose declared trailer_size exceeds the bytes it supplies.\n\nClear the pointer after freeing so the readdir-side vfree() becomes a\nno-op.","source":"cvelist"}],"published":"2026-09-11T19:43:48.096Z","modified":"2026-10-19T09:17:43.957Z","severities":[],"cwes":[],"affected":[{"ranges":[{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"712c4235fcc73c11a2f1d59a499d489e49c374a4","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"433c2e470053cc9c712314d3d8c3dfbc862d68eb","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"6e5924644ef4bce06a3cbb7cb841a8bbfdfc03ad","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"9c9eacc47c618ed6d7d35fe75a40d294c8cdbffa","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"2f5454a25127854c232fde5d1d65d16fbcd42d43","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"f796f38a324e89547738f4b70cc33be5be2bc6da","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"519f4146b8b8c5f20c2ad01913acd6df2df8fc8e","status":"affected"},{"type":"git","introduced":"382f4581e67f57209c7aa67e39f26ba076306a2e","fixed":"f574296be7f46eb60beca851240b526df232f480","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"4.12","status":"affected"},{"type":"semver","introduced":"0","fixed":"4.12","status":"unaffected"},{"type":"semver","introduced":"5.10.270","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.221","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.188","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.6.157","lastAffected":"6.6.*","status":"unaffected"},{"type":"semver","introduced":"6.12.109","lastAffected":"6.12.*","status":"unaffected"},{"type":"semver","introduced":"6.18.50","lastAffected":"6.18.*","status":"unaffected"},{"type":"semver","introduced":"7.2.4","lastAffected":"7.2.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"7.3","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"}],"references":[{"url":"https://git.kernel.org/stable/c/712c4235fcc73c11a2f1d59a499d489e49c374a4","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/433c2e470053cc9c712314d3d8c3dfbc862d68eb","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/6e5924644ef4bce06a3cbb7cb841a8bbfdfc03ad","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/9c9eacc47c618ed6d7d35fe75a40d294c8cdbffa","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/2f5454a25127854c232fde5d1d65d16fbcd42d43","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f796f38a324e89547738f4b70cc33be5be2bc6da","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/519f4146b8b8c5f20c2ad01913acd6df2df8fc8e","tags":[],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/f574296be7f46eb60beca851240b526df232f480","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-89498","url":"https://www.cve.org/CVERecord?id=CVE-2026-89498","licence":"CVE Terms of Use","modified":"2026-10-19T08:47:49.902Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-89498","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-89498","licence":"Public domain","modified":"2026-10-19T09:17:43.957Z"}],"updatedAt":"2026-11-25T22:59:38.041Z","epss":{"score":0.00177,"percentile":0.0753,"date":"2026-12-01T12:00:22.000Z"}}