mbox series

[SRU,F/J/L/M/OEM-6.5,0/1] CVE-2023-6932

Message ID 20240103195558.381779-1-magali.lemes@canonical.com
Headers show
Series CVE-2023-6932 | expand

Message

Magali Lemes Jan. 3, 2024, 7:55 p.m. UTC
[Impact]
A use-after-free vulnerability in the Linux kernel’s ipv4 igmp component can
be exploited to achieve local privilege escalation. A race condition can be
exploited to cause a timer to be mistakenly registered on an RCU read locked
object which is freed by another thread.

[Backport]
Clean cherry-pick. However, when applying the patch on Lunar, Mantic, and
OEM-6.5, use git am with the `--3way` option.

[Test]
Compile and boot tested.

[Regression potential]
This affects IGMP.

Zhengchao Shao (1):
  ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet

 net/ipv4/igmp.c | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

Comments

Roxana Nicolescu Jan. 4, 2024, 1:25 p.m. UTC | #1
On 03/01/2024 20:55, Magali Lemes wrote:
> [Impact]
> A use-after-free vulnerability in the Linux kernel’s ipv4 igmp component can
> be exploited to achieve local privilege escalation. A race condition can be
> exploited to cause a timer to be mistakenly registered on an RCU read locked
> object which is freed by another thread.
>
> [Backport]
> Clean cherry-pick. However, when applying the patch on Lunar, Mantic, and
> OEM-6.5, use git am with the `--3way` option.
>
> [Test]
> Compile and boot tested.
>
> [Regression potential]
> This affects IGMP.
>
> Zhengchao Shao (1):
>    ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
>
>   net/ipv4/igmp.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
Acked-by: Roxana Nicolescu <roxana.nicolescu@canonical.com>
Andrei Gherzan Jan. 4, 2024, 2:38 p.m. UTC | #2
On 24/01/03 04:55PM, Magali Lemes wrote:
> [Impact]
> A use-after-free vulnerability in the Linux kernel’s ipv4 igmp component can
> be exploited to achieve local privilege escalation. A race condition can be
> exploited to cause a timer to be mistakenly registered on an RCU read locked
> object which is freed by another thread.
> 
> [Backport]
> Clean cherry-pick. However, when applying the patch on Lunar, Mantic, and
> OEM-6.5, use git am with the `--3way` option.
> 
> [Test]
> Compile and boot tested.
> 
> [Regression potential]
> This affects IGMP.
> 
> Zhengchao Shao (1):
>   ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
> 
>  net/ipv4/igmp.c | 6 ++++--
>  1 file changed, 4 insertions(+), 2 deletions(-)

Acked-by: Andrei Gherzan <andrei.gherzan@canonical.com>
Roxana Nicolescu Jan. 4, 2024, 4:24 p.m. UTC | #3
On 03/01/2024 20:55, Magali Lemes wrote:
> [Impact]
> A use-after-free vulnerability in the Linux kernel’s ipv4 igmp component can
> be exploited to achieve local privilege escalation. A race condition can be
> exploited to cause a timer to be mistakenly registered on an RCU read locked
> object which is freed by another thread.
>
> [Backport]
> Clean cherry-pick. However, when applying the patch on Lunar, Mantic, and
> OEM-6.5, use git am with the `--3way` option.
>
> [Test]
> Compile and boot tested.
>
> [Regression potential]
> This affects IGMP.
>
> Zhengchao Shao (1):
>    ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
>
>   net/ipv4/igmp.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
>
Applied to mantic, jammy, focal master-next branched. For lunar, the 
patch does not apply.
A v2 will be sent for lunar only.
Timo Aaltonen Jan. 19, 2024, 8:30 a.m. UTC | #4
Magali Lemes kirjoitti 3.1.2024 klo 21.55:
> [Impact]
> A use-after-free vulnerability in the Linux kernel’s ipv4 igmp component can
> be exploited to achieve local privilege escalation. A race condition can be
> exploited to cause a timer to be mistakenly registered on an RCU read locked
> object which is freed by another thread.
> 
> [Backport]
> Clean cherry-pick. However, when applying the patch on Lunar, Mantic, and
> OEM-6.5, use git am with the `--3way` option.
> 
> [Test]
> Compile and boot tested.
> 
> [Regression potential]
> This affects IGMP.
> 
> Zhengchao Shao (1):
>    ipv4: igmp: fix refcnt uaf issue when receiving igmp query packet
> 
>   net/ipv4/igmp.c | 6 ++++--
>   1 file changed, 4 insertions(+), 2 deletions(-)
> 

oem-6.5 got this already via rebase to mantic kernel