{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-98037","id":"CVE-2026-98037","title":"bpf: Reject untrusted allocated-object pointers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject untrusted allocated-object pointers\n\nWhen the final RCU read-side critical section ends, a local kptr is demoted\nto PTR_UNTRUSTED but retains MEM_ALLOC. The pointer may be NULL or may refer\nto an object whose lifetime is no longer protected.\n\ntype_is_ptr_alloc_obj() nevertheless recognizes any PTR_TO_BTF_ID with\nMEM_A","descriptionLong":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Reject untrusted allocated-object pointers\n\nWhen the final RCU read-side critical section ends, a local kptr is demoted\nto PTR_UNTRUSTED but retains MEM_ALLOC. The pointer may be NULL or may refer\nto an object whose lifetime is no longer protected.\n\ntype_is_ptr_alloc_obj() nevertheless recognizes any PTR_TO_BTF_ID with\nMEM_ALLOC as a live allocated object. In particular, a refcount-only local\nkptr never carries NON_OWN_REF, so it still passes the\nbpf_refcount_acquire() argument check after RCU protection ends. The kfunc\ncan then dereference NULL or stale memory.\n\nMake type_is_ptr_alloc_obj() reject PTR_UNTRUSTED pointers. Since\ntype_is_non_owning_ref() is based on the same predicate, graph kfunc\narguments obey the same live-object requirement. Fault-protected reads of\nthe demoted pointer remain valid: writes are already rejected, and read\nfixups use bpf_may_fault_on_deref() rather than this predicate.\n\n[ kkd: Rewrote commit log ]","published":"2026-09-25T10:23:51.126Z","updated":"2026-10-28T02:30:48.866330555Z","reserved":"2026-09-25T10:19:56.071Z","status":"Received","rejected":false,"assigner":"Linux","metric":null,"metrics":[],"rating":"unrated","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1b12171533a9bb23cf6fba7262b479028b65e1e8","lessThan":"092c2874dc1b2060fa77a465a971acd4fdf87683","status":"affected","versionType":"git"},{"version":"1b12171533a9bb23cf6fba7262b479028b65e1e8","lessThan":"135d542b97fa93e32c457d49d6e7b33ca7d05bae","status":"affected","versionType":"git"},{"version":"1b12171533a9bb23cf6fba7262b479028b65e1e8","lessThan":"6b1f786ad85a0b63393b76f5e634deab1a73198c","status":"affected","versionType":"git"},{"version":"1b12171533a9bb23cf6fba7262b479028b65e1e8","lessThan":"7441ee8276641bddaf1cba7bb75ef9c1458ceb3b","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.8","status":"affected"},{"version":"0","lessThan":"6.8","status":"unaffected","versionType":"semver"},{"version":"6.12.111","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.18.53","lessThanOrEqual":"6.18.*","status":"unaffected","versionType":"semver"},{"version":"7.2.7","lessThanOrEqual":"7.2.*","status":"unaffected","versionType":"semver"},{"version":"7.3","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":[],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/092c2874dc1b2060fa77a465a971acd4fdf87683","tags":["web"]},{"url":"https://git.kernel.org/stable/c/135d542b97fa93e32c457d49d6e7b33ca7d05bae","tags":["web"]},{"url":"https://git.kernel.org/stable/c/6b1f786ad85a0b63393b76f5e634deab1a73198c","tags":["web"]},{"url":"https://git.kernel.org/stable/c/7441ee8276641bddaf1cba7bb75ef9c1458ceb3b","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/98xxx/CVE-2026-98037.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98037","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.00201,"epssPercentile":0.10046,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-98037","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-98037","ok":true,"note":"Received"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-98037","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-2026-98037","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}