[SRU OEM-5.17, OEM-6.0 0/1] CVE-2023-26545

Cengiz Can cengiz.can at canonical.com
Tue Apr 11 22:55:11 UTC 2023


[Impact]
In the Linux kernel before 6.1.13, there is a double free in net/mpls/af_mpls.c
upon an allocation failure (for registering the sysctl table under a new
location) during the renaming of a device.

[Fix]
Cherry picked from upstream.

[Test case]
Compile and boot tested only.

[Potential regression]
Low. Fix only adds a null check to prevent a double free.

Jakub Kicinski (1):
  net: mpls: fix stale pointer if allocation fails during device rename

 net/mpls/af_mpls.c | 4 ++++
 1 file changed, 4 insertions(+)

-- 
2.37.2




More information about the kernel-team mailing list