Vulnerability in Kernel: ata_host_alloc_pinfo() NULL Pointer Dereference

Kernel Updated 02 Oct 2025

Summary

31/07/2022
N/A
No i
Unrated
Not published

GSD-2022-1004658: ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo(). Affects Kernel versions < 36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

The Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities, such as device drivers, memory management, and process scheduling. The Kernel is responsible for managing input/output operations, including those related to storage devices. One of the key components in the Kernel is the libata-core module, which handles ATA (Advanced Technology Attachment) devices. ATA is a standard interface used for connecting storage devices like hard drives and solid-state drives to a computer. The libata-core module contains various functions and data structures to manage ATA devices. However, a vulnerability has been discovered in the ata_host_alloc_pinfo() function within the libata-core module.

Vulnerability Detail

The vulnerability in the ata_host_alloc_pinfo() function is a NULL pointer dereference issue. When allocating memory for an ATA host, the function fails to handle a NULL pointer properly. This can lead to a NULL pointer dereference, causing the system to crash or potentially allowing an attacker to execute arbitrary code. The impact and attack plausibility of this vulnerability have not been proven yet. However, it is crucial to address this issue to ensure the stability and security of the system. The vulnerability has been fixed in Linux Kernel version v5.10.124 by commit 36cd19e7d4e5571d77a2ed20c5b6ef50cf57734a.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is recommended to update the Kernel to the fixed version.

Conclusion

The vulnerability in the Kernel's libata-core module, specifically in the ata_host_alloc_pinfo() function, could lead to a NULL pointer dereference and potential system crashes or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.10.124 or later to mitigate this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel is a crucial component of the Linux operating system that acts as a bridge between the hardware and software layers. It provides essential functionalities, such as device drivers, memory management, and process scheduling.

libata-core is a module within the Kernel that handles ATA (Advanced Technology Attachment) devices. ATA is a standard interface used for connecting storage devices like hard drives and solid-state drives to a computer.

A NULL pointer dereference occurs when a program attempts to access or manipulate data using a NULL pointer, which points to no memory address. This can lead to a crash or potentially allow an attacker to execute arbitrary code.

To fix this vulnerability, it is recommended to update the Linux Kernel to version v5.10.124 or later. This can be done by obtaining the latest Kernel source code from the official Linux Kernel repository and compiling it for the target system.

As this vulnerability has been fixed in the latest version of the Linux Kernel, there is no specific workaround available. It is recommended to update the Kernel to the fixed version.

Related vulnerabilities

Recent vulnerabilities recorded for Kernel.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback