Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-51476.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-51476
Upstream
Published
2024-10-21T20:15:16Z
Modified
2026-04-01T05:16:25.290544Z
Severity
  • 7.0 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
CVE-2024-50036 affecting package kernel for versions less than 6.6.57.1-1
Details

In the Linux kernel, the following vulnerability has been resolved:

net: do not delay dstentriesadd() in dst_release()

dstentriesadd() uses per-cpu data that might be freed at netns dismantle from ip6routenetexit() calling dstentries_destroy()

Before ip6routenetexit() can be called, we release all the dsts associated with this netns, via calls to dstrelease(), which waits an rcu grace period before calling dst_destroy()

dstentriesadd() use in dstdestroy() is racy, because dstentries_destroy() could have been called already.

Decrementing the number of dsts must happen sooner.

Notes:

1) in CONFIGXFRM case, dstdestroy() can call dstreleaseimmediate(child), this might also cause UAF if the child does not have DST_NOCOUNT set. IPSEC maintainers might take a look and see how to address this.

2) There is also discussion about removing this count of dst, which might happen in future kernels.

References

Affected packages

Azure Linux:3 / kernel

Package

Name
kernel
Purl
pkg:rpm/azure-linux/kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
6.6.57.1-1

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-51476.json"