Read the docs
TI-2024-23813 Aliases CVE-2024-35955GHSA-m7wf-2qxg-448x

kprobes: Fix possible use-after-free issue on kprobe registration

Priority MEDIUM 42CWE-416Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 2 without a fix

Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and Red Hat. Impact type from CWE-416 and the CVSS impact.

Summary

In the Linux kernel, the following vulnerability has been resolved: kprobes: Fix possible use-after-free issue on kprobe registration When unloading a module, its state is changing MODULE_STATE_LIVE -> MODULE_STATE_GOING -> MODULE_STATE_UNFORMED. Each change will take a time. `is_module_text_address()` and `__module_text_address()` works with MODULE_STATE_LIVE and MODULE_STATE_GOING. If we use `is_module_text_address()` and `__module_text_address()` separately, there is a chance that the first one is succeeded but the next one is failed because module->state becomes MODULE_STATE_UNFORMED between those operations. In `check_kprobe_address_safe()`, if the second `__module_text_address()` is failed, that is ignored because it expected a kernel_text address. But it may have failed simply because module->state has been changed to MODULE_STATE_UNFORMED. In this case, arm_kprobe() will try to modify non-exist module text address (use-after-free). To fix this problem, we should not use separated `is_module_text_address()` and `__module_text_address()`, but use only `__module_text_address()` once and do `try_module_get(module)` which is only available with MODULE_STATE_LIVE.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01177 67th percentileScored 2026-11-07
Fix Partial Linux (Linux): 4.19.313, 5.4.275, 5.10.216 +8Red Hat: 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
LinuxLinux4.19.256 to before 4.19.313; 5.4.211 to before 5.4.275; 5.10.137 to before 5.10.216; 5.15.61 to before 5.15.157; 4.14.291 to before 4.15; 5.18.18 to before 5.19; 5.19.2 to before 5.204.19.313, 5.4.275, 5.10.216, 5.15.157, 4.15, 5.19, 5.20Patch availableCNA
LinuxLinux6.0 and later4.19.313, 5.4.275, 5.10.216, 5.15.157, 6.1.87, 6.6.28, 6.8.7, 6.9Patch availableCNA
  • Linux VendorLinux Affected 4.19.256 to before 4.19.313; 5.4.211 to before 5.4.275; 5.10.137 to before 5.10.216; 5.15.61 to before 5.15.157; 4.14.291 to before 4.15; 5.18.18 to before 5.19; 5.19.2 to before 5.20 Fixed in 4.19.313, 5.4.275, 5.10.216, 5.15.157, 4.15, 5.19, 5.20 Patch available CNA
  • Linux VendorLinux Affected 6.0 and later Fixed in 4.19.313, 5.4.275, 5.10.216, 5.15.157, 6.1.87, 6.6.28, 6.8.7, 6.9 Patch available CNA

CPE configurations NVD · 5

CPEVersionsRoleVendor
cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*4.14.291 to before 4.15; 4.19.256 to before 4.19.313; 5.4.211 to before 5.4.275; 5.10.137 to before 5.10.216; 5.15.61 to before 5.15.157; 5.18.18 to before 5.19; 5.19.2 to before 6.1.87; 6.2 to before 6.6.28; 6.7 to before 6.8.7VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:*6.9 rc1VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:*6.9 rc2VulnerableLinux
cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:*6.9 rc3VulnerableLinux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* Versions 4.14.291 to before 4.15; 4.19.256 to before 4.19.313; 5.4.211 to before 5.4.275; 5.10.137 to before 5.10.216; 5.15.61 to before 5.15.157; 5.18.18 to before 5.19; 5.19.2 to before 6.1.87; 6.2 to before 6.6.28; 6.7 to before 6.8.7 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.9:rc1:*:*:*:*:*:* Versions 6.9 rc1 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.9:rc2:*:*:*:*:*:* Versions 6.9 rc2 Vulnerable ·Linux
  • cpe:2.3:o:linux:linux_kernel:6.9:rc3:*:*:*:*:*:* Versions 6.9 rc3 Vulnerable ·Linux
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · CNA Linux (Linux) Fixed in 4.19.313, 5.4.275, 5.10.216, 5.15.157, 4.15, 5.19, 5.20
  • Fix · CNA Linux (Linux) Fixed in 4.19.313, 5.4.275, 5.10.216, 5.15.157, 6.1.87, 6.6.28, 6.8.7, 6.9

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Not affected: 2 products
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-35955
  2. 2026-10-03 Alias added: GHSA-m7wf-2qxg-448x

References

  • TI-2025-26358 tls: fix handling of zero-length records on the rx_list KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-38352 netfilter: bridge: make ebt_snat ARP rewrite writable KEVCVSS 3.1HIGH 8.8
  • TI-2013-05264 The (1) get_user and (2) put_user API functions in the Linux kernel before 3.5.5 on the… KEVCVSS 3.1HIGH 8.8
  • TI-2022-00125 Integer overflow in kernel KEVCVSS 3.1HIGH 8.4
  • TI-2013-01864 The perf_swevent_init function in kernel/events/core.c in the Linux kernel before 3.8.9… KEVCVSS 3.1HIGH 8.4
  • TI-2021-05514 Heap Out-Of-Bounds Write in Netfilter IP6T_SO_SET_REPLACE KEVCVSS 3.1HIGH 8.3
See all 15278 →

Sources