Bug 2262241 (CVE-2024-1151) - CVE-2024-1151 kernel: stack overflow problem in Open vSwitch kernel module leading to DoS
Summary: CVE-2024-1151 kernel: stack overflow problem in Open vSwitch kernel module le...
Keywords:
Status: NEW
Alias: CVE-2024-1151
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2263738
Blocks: 2262238
TreeView+ depends on / blocked
 
Reported: 2024-02-01 11:28 UTC by Rohit Keshri
Modified: 2024-11-12 09:18 UTC (History)
52 users (show)

Fixed In Version: kernel 6.8-rc5
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2024:4823 0 None None None 2024-07-24 13:10:54 UTC
Red Hat Product Errata RHSA-2024:4831 0 None None None 2024-07-24 13:23:00 UTC
Red Hat Product Errata RHSA-2024:9315 0 None None None 2024-11-12 09:18:27 UTC

Description Rohit Keshri 2024-02-01 11:28:13 UTC
A flaw in the Linux Kernel found in the Open vSwitch Kernel module.

The Netlink copy code in the ovs kernel module attempts to make an in-kernel copy of the actions required. That means that when recursive operations, like sample(), clone(), dec_ttl(), etc include additional actions, the code pushes a new stack frame and recursively calls into the code block.

Unfortunately, OVS module doesn't validate the stack depth, and will push too many frames causing a stack overflow which can lead to crash.

Reference:
https://lore.kernel.org/all/20240207132416.1488485-1-aconole@redhat.com/

Comment 7 Alex 2024-02-11 14:14:38 UTC
Created kernel tracking bugs for this issue:

Affects: fedora-all [bug 2263738]

Comment 10 Salvatore Bonaccorso 2024-02-11 21:13:44 UTC
Is the "Fixed In Version" metadata really correct? The submitted change does not seem to have hit Linux tree yet and not in 6.8-rc4.

Comment 12 Justin M. Forbes 2024-02-15 19:33:19 UTC
(In reply to Salvatore Bonaccorso from comment #10)
> Is the "Fixed In Version" metadata really correct? The submitted change does
> not seem to have hit Linux tree yet and not in 6.8-rc4.

Looks like it did not make rc4, it is still in linux-next. Hopefully rc5?

Comment 13 Alex 2024-02-18 09:55:40 UTC
In reply to comment #12:
> (In reply to Salvatore Bonaccorso from comment #10)
> > Is the "Fixed In Version" metadata really correct? The submitted change does
> > not seem to have hit Linux tree yet and not in 6.8-rc4.
> 
> Looks like it did not make rc4, it is still in linux-next. Hopefully rc5?

Updated to kernel 6.8-rc5. Still need to check later if going to be included to rc5.

Comment 18 errata-xmlrpc 2024-07-24 13:10:50 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4823 https://access.redhat.com/errata/RHSA-2024:4823

Comment 19 errata-xmlrpc 2024-07-24 13:22:56 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9.2 Extended Update Support

Via RHSA-2024:4831 https://access.redhat.com/errata/RHSA-2024:4831

Comment 20 errata-xmlrpc 2024-11-12 09:18:23 UTC
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 9

Via RHSA-2024:9315 https://access.redhat.com/errata/RHSA-2024:9315


Note You need to log in before you can comment on or make changes to this bug.