{"id":"CVE-2026-53089","sourceIdentifier":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","published":"2026-06-24T17:17:23.097","lastModified":"2026-11-06T17:18:05.513","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nbpf: Fix use-after-free in offloaded map/prog info fill\n\nWhen querying info for an offloaded BPF map or program,\nbpf_map_offload_info_fill_ns() and bpf_prog_offload_info_fill_ns()\nobtain the network namespace with get_net(dev_net(offmap->netdev)).\nHowever, the associated netdev's netns may be racing with teardown\nduring netns destruction. If the netns refcount has already reached 0,\nget_net() performs a refcount_t increment on 0, triggering:\n\n  refcount_t: addition on 0; use-after-free.\n\nAlthough rtnl_lock and bpf_devs_lock ensure the netdev pointer remains\nvalid, they cannot prevent the netns refcount from reaching zero.\n\nFix this by using maybe_get_net() instead of get_net(). maybe_get_net()\nuses refcount_inc_not_zero() and returns NULL if the refcount is already\nzero, which causes ns_get_path_cb() to fail and the caller to return\n-ENOENT -- the correct behavior when the netns is being destroyed."}],"affected":[{"source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","affectedData":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","programFiles":["kernel/bpf/offload.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"fea55b034328feaafef75aee252f305e6f85a991","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"5662dac41a3442aa378d7c405164903eb109fc05","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"1a2dc103e16448d022a77ad5fc3234641436c4b7","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"85dc711f742b192eb97c0e00b521312f5a7a415e","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"a51e7fbe94a87e236631a83973d4f558310b2cd2","versionType":"git","status":"affected"},{"version":"675fc275a3a2d905535207237402c6d8dcb5fa4b","lessThan":"a0c584fc18056709c8e047a82a6045d6c209f4ce","versionType":"git","status":"affected"}]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","programFiles":["kernel/bpf/offload.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","versions":[{"version":"4.16","status":"affected"},{"version":"0","lessThan":"4.16","versionType":"semver","status":"unaffected"},{"version":"5.10.269","lessThanOrEqual":"5.10.*","versionType":"semver","status":"unaffected"},{"version":"5.15.220","lessThanOrEqual":"5.15.*","versionType":"semver","status":"unaffected"},{"version":"6.1.187","lessThanOrEqual":"6.1.*","versionType":"semver","status":"unaffected"},{"version":"6.6.156","lessThanOrEqual":"6.6.*","versionType":"semver","status":"unaffected"},{"version":"6.12.108","lessThanOrEqual":"6.12.*","versionType":"semver","status":"unaffected"},{"version":"6.18.49","lessThanOrEqual":"6.18.*","versionType":"semver","status":"unaffected"},{"version":"7.0.10","lessThanOrEqual":"7.0.*","versionType":"semver","status":"unaffected"},{"version":"7.1","lessThanOrEqual":"*","versionType":"original_commit_for_fix","status":"unaffected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","baseScore":7.8,"baseSeverity":"HIGH","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH"},"exploitabilityScore":1.8,"impactScore":5.9}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-11-06T16:18:12.065771Z","id":"CVE-2026-53089","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-416"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.16","versionEndExcluding":"7.0.10","matchCriteriaId":"BE70B0A9-DD71-4EA5-8A36-E260911541E9"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/1a2dc103e16448d022a77ad5fc3234641436c4b7","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/43d6848a2a6c92ccfd614d9f0bb6fd85b95dfa9d","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/5662dac41a3442aa378d7c405164903eb109fc05","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/642943ae5bdacabc8109dc4a5e0ebb4a6b99ef3e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/85dc711f742b192eb97c0e00b521312f5a7a415e","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"},{"url":"https://git.kernel.org/stable/c/a0c584fc18056709c8e047a82a6045d6c209f4ce","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/a51e7fbe94a87e236631a83973d4f558310b2cd2","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":["Patch"]},{"url":"https://git.kernel.org/stable/c/fea55b034328feaafef75aee252f305e6f85a991","source":"416baaa9-dc9f-4396-8d5f-8c081fb06d67"}]}