CVE-2024-50018

linux: In the Linux kernel, the following vulnerability has been resolved: net: napi: Prevent overflow of napi_defer_hard_i...

CVE-2024-50018 is fixed in 100 products on 1 platform, first by CVE-2024-50018, released October 21, 2024. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.5
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
n/a

In the Linux kernel, the following vulnerability has been resolved: net: napi: Prevent overflow of napi_defer_hard_irqs In commit 6f8b12d661d0 ("net: napi: add hard irqs deferral feature") napi_defer_irqs was added to net_device and napi_defer_irqs_count was added to napi_struct, both as type int. This value never goes below zero, so there is not reason for it to be a signed int. Change the type for both from int to u32, and add an overflow check to sysfs to limit the value to S32_MAX. The limit of S32_MAX was chosen because the practical limit before this patch was S32_MAX (anything larger was an overflow) and thus there are no behavioral changes introduced. If the extra bit is needed in the future, the limit can be raised. Before this patch: $ sudo bash -c 'echo 2147483649 > /sys/class/net/eth4/napi_defer_hard_irqs' $ cat /sys/class/net/eth4/napi_defer_hard_irqs -2147483647 After this patch: $ sudo bash -c 'echo 2147483649 > /sys/class/net/eth4/napi_defer_hard_irqs' bash: line 0: echo: write error: Numerical result out of range Similarly, /sys/class/net/XXXXX/tx_queue_len is defined as unsigned: include/linux/netdevice.h: unsigned int tx_queue_len; And has an overflow check: dev_change_tx_queue_len(..., unsigned long new_len): if (new_len != (unsigned int)new_len) return -ERANGE;

Where it's fixed

ProductFixed inFixReleased
Linux
bpftool · ol 9 0:7.5.0-802.el9_6 ELSA-2025-6966 May 16, 2025
dtb-aarch64 · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-64k · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug-devel-matched · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-debug-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-devel-matched · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64k-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-64kb · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-64kb · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-abi-stablelists · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-abi-stablelists · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-azure · opensuse-leap 15.6 6.4.0-150600.8.23.1 SUSE-SU-2025:0117-1 Jan 15, 2025
kernel-azure · sles 15.6 6.4.0-150600.8.23.1 SUSE-SU-2025:0117-1 Jan 15, 2025
kernel-coco · sles 15.6 6.4.0-15061.12.coco15sp6.1 SUSE-SU-2025:0289-1 Jan 29, 2025
kernel-coco_debug · sles 15.6 6.4.0-15061.12.coco15sp6.1 SUSE-SU-2025:0289-1 Jan 29, 2025
kernel-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-core · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-cross-headers · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-debug-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-core · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-devel · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug-devel-matched · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-devel-matched · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-modules · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-modules-core · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-modules-extra · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-debug-uki-virt · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-debug-uki-virt · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-default · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-default · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-default-base · opensuse-leap 15.6 6.4.0-150600.23.33.1.150600.12.14.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-default-base · sles 15.6 6.4.0-150600.23.33.1.150600.12.14.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-devel · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-devel-matched · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-devel-matched · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-doc · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-doc · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-docs · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-docs · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-headers · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-kvmsmall · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-livepatch-SLE15-SP6-RT_Update_7 · sles 15.6 1-150600.1.3.1 SUSE-SU-2025:0153-1 Jan 17, 2025
kernel-livepatch-SLE15-SP6_Update_7 · sles 15.6 1-150600.13.3.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-modules · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-modules-core · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-modules-extra · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-obs-build · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-obs-build · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-obs-qa · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-rt · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt · opensuse-leap 15.6 6.4.0-150600.10.23.1 SUSE-SU-2025:0153-1 Jan 17, 2025
kernel-rt-64k · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-debug · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-debug-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-debug-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-debug-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-debug-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-debug-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-64k-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug-kvm · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-debug-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-kvm · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-rt_debug · opensuse-leap 15.6 6.4.0-150600.10.23.1 SUSE-SU-2025:0153-1 Jan 17, 2025
kernel-source · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-source · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-source-azure · opensuse-leap 15.6 6.4.0-150600.8.23.1 SUSE-SU-2025:0117-1 Jan 15, 2025
kernel-source-azure · sles 15.6 6.4.0-150600.8.23.1 SUSE-SU-2025:0117-1 Jan 15, 2025
kernel-source-coco · sles 15.6 6.4.0-15061.12.coco15sp6.1 SUSE-SU-2025:0289-1 Jan 29, 2025
kernel-source-rt · opensuse-leap 15.6 6.4.0-150600.10.23.1 SUSE-SU-2025:0153-1 Jan 17, 2025
kernel-syms · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-syms · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-syms-azure · opensuse-leap 15.6 6.4.0-150600.8.23.1 SUSE-SU-2025:0117-1 Jan 15, 2025
kernel-syms-azure · sles 15.6 6.4.0-150600.8.23.1 SUSE-SU-2025:0117-1 Jan 15, 2025
kernel-syms-coco · sles 15.6 6.4.0-15061.12.coco15sp6.1 SUSE-SU-2025:0289-1 Jan 29, 2025
kernel-syms-rt · opensuse-leap 15.6 6.4.0-150600.10.23.1 SUSE-SU-2025:0153-1 Jan 17, 2025
kernel-tools · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-tools · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-tools-libs · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-tools-libs · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-tools-libs-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-tools-libs-devel · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-uki-virt · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-uki-virt · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-uki-virt-addons · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-uki-virt-addons · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
kernel-zfcpdump · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-zfcpdump · opensuse-leap 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-zfcpdump · sles 15.6 6.4.0-150600.23.33.1 SUSE-SU-2025:0154-1 Jan 17, 2025
kernel-zfcpdump-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-zfcpdump-devel · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-zfcpdump-devel-matched · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-zfcpdump-modules · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-zfcpdump-modules-core · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
kernel-zfcpdump-modules-extra · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
libperf · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
libperf · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
linux · Debian 13.5 (trixie) 6.11.4-1 CVE-2024-50018 Oct 21, 2024
perf · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
perf · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
python3-perf · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
python3-perf · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
rtla · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
rtla · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025
rv · RHEL 9 0:5.14.0-570.12.1.el9_6 RHSA-2025:6966 May 13, 2025
rv · ol 9 0:5.14.0-570.12.1.0.1.el9_6 ELSA-2025-6966 May 16, 2025

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.