CVE-2024-50212
Linux Debian vulnerability analysis and mitigation

Overview

A vulnerability in the Linux kernel was identified and resolved, affecting the alloctagmoduleunload functionality. The issue was discovered when the nfnat module's exit calls kfreercu on certain addresses, but the free operation remains pending when alloctag checks for leaks. The vulnerability was reported by Ben Greear and was fixed in November 2024 (Kernel Git).

Technical details

The vulnerability occurs in the module unloading process where kfreercu operations are not properly synchronized. When the nfnat module is unloaded, it calls kfreercu on addresses, but the alloctagmoduleunload function checks for leaks before these operations complete. This results in a warning at lib/alloc_tag.c:168. The issue can be reproduced by executing a sequence of commands involving iptables-nft and module unloading (Kernel Git).

Impact

The vulnerability can trigger kernel warnings and potentially lead to memory leak detection issues during module unloading. This affects the kernel's memory management system and module handling capabilities (NVD).

Mitigation and workarounds

The issue has been fixed by adding a kvfreercubarrier() call before checking for leaks in the module unload process. This ensures that all pending kfree_rcu operations complete before the leak check is performed (Kernel Git).

Additional resources


SourceThis report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-61729HIGH7.5
  • DockerDocker
  • golang-1.19
NoYesDec 02, 2025
CVE-2025-64460HIGH7.5
  • Linux DebianLinux Debian
  • python-django
NoYesDec 02, 2025
CVE-2025-65187MEDIUM6.1
  • Linux DebianLinux Debian
  • civicrm
NoNoDec 02, 2025
CVE-2025-65105MEDIUM4.5
  • Linux DebianLinux Debian
  • github.com/apptainer/apptainer
NoYesDec 02, 2025
CVE-2025-13372MEDIUM4.3
  • Linux DebianLinux Debian
  • py3-django
NoYesDec 02, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management