Linux Kernel NULL Pointer Dereference Vulnerability in libata-transport Error Handling

Vulnerability

A vulnerability in the Linux kernel's libata-transport component has been identified, related to improper error handling in the ata_tdev_add() function. The issue arises because the return value of transport_add_device() is not properly checked, leading to a null pointer dereference when the module is removed. This occurs because transport_remove_device() is called to remove a device that was never successfully added. The vulnerability causes a kernel panic due to an unhandled NULL pointer dereference, specifically when the 'rmmod' command is used to remove the module.

Impact

Exploitation of this vulnerability leads to a kernel NULL pointer dereference, causing a system crash.

Remediation

Users can apply the latest patches available in the Linux kernel repository to address this vulnerability.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
9.0
impact
2.5
exploitability
4.0
remediation
0.0
relevance
0.0
threat
3.2
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.