CVE-2024-1151: Kernel: stack overflow problem in open vswitch kernel module leading to dos

Published Feb 1, 2024
·
Updated

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(), decttl(), 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/

Other sources

A vulnerability was reported in the Open vSwitch sub-component in the Linux Kernel. The flaw occurs when a recursive operation of code push recursively calls into the code block. The OVS module does not validate the stack depth, pushing too many frames and causing a stack overflow. As a result, this can lead to a crash or other related issues.

Launchpad

Kernel: stack overflow problem in open vswitch kernel module leading to dos

Microsoft

Affected Software

15 affected componentsFixes available
Debian Debian Linux=10.0
Fedoraproject Fedora=38
Fedoraproject Fedora=39
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
Linux Linux kernel<=6.7.8
Linux Linux kernel=6.8
Linux Linux kernel=6.8-rc1
Linux Linux kernel=6.8-rc2
Linux Linux kernel=6.8-rc3
Linux Linux kernel=6.8-rc4
debian/linux
5.10.223-15.10.234-16.1.129-16.1.135-16.12.25-16.12.27-1
redhat/kernel<6.8
6.8
Microsoft azl3 hyperv-daemons 6.6.14.1-1<6.6.22.1-2
6.6.22.1-2
Microsoft azl3 hyperv-daemons 6.6.22.1-2<6.6.22.1-2
6.6.22.1-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/linux to a version that resolves this vulnerability.

    Fixed in 5.10.223-1Fixed in 5.10.234-1Fixed in 6.1.129-1Fixed in 6.1.135-1Fixed in 6.12.25-1Fixed in 6.12.27-1
  2. Upgrade

    Upgrade redhat/kernel to a version that resolves this vulnerability.

    Fixed in 6.8
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 6.6.22.1-2

Event History

Feb 1, 2024
Data Sourced
via Red Hat·11:28 AM
DescriptionSeverityAffected Software
Feb 11, 2024
CVE Published
via MITRE·02:29 PM
Data Sourced
via MITRE·02:29 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
RemedyDescriptionSeverityWeaknessAffected Software
May 11, 2024
Data Sourced
via Launchpad·08:29 PM
Description
Jun 30, 2024
Data Sourced
via Microsoft·02:00 PM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·02:00 PM
Affected Software
Updated
via Microsoft·02:00 PM
DescriptionSeverity
Apr 29, 2025
Data Sourced
via Ubuntu·05:36 AM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2024-1151?

CVE-2024-1151 has been categorized as a significant vulnerability affecting the Linux Kernel's Open vSwitch Kernel module.

2

How do I fix CVE-2024-1151?

To mitigate CVE-2024-1151, update your Linux Kernel to versions 6.8 or above, or apply respective patches provided by your distribution.

3

Which software is affected by CVE-2024-1151?

CVE-2024-1151 impacts various Linux distributions including Red Hat Enterprise Linux, Debian, and Fedora.

4

Is CVE-2024-1151 a remote exploit?

CVE-2024-1151 could potentially be exploited remotely, depending on the specific implementation of the affected software.

5

What are the potential consequences of CVE-2024-1151?

Exploitation of CVE-2024-1151 could lead to unauthorized actions within the kernel, impacting system integrity and security.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203