ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo()

Kernel Updated 02 Oct 2025

Summary

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

GSD-2022-1004319: ata: libata-core: fix NULL pointer deref in ata_host_alloc_pinfo(). Affects Kernel versions < 07cbdb4807d369fbda73062a91b570c4dc5ec429. 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 Devnack Penetration testing for web, API and mobile Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The vulnerability affects the Kernel package in the Linux ecosystem. The Kernel is the core component of the Linux operating system, responsible for managing system resources and providing an interface for applications to interact with the hardware. The specific vulnerability, identified as GSD-2022-1004319, is related to the libata-core module within the Kernel. This module handles ATA (Advanced Technology Attachment) devices, which are commonly used for storage devices such as hard drives and solid-state drives. The vulnerability involves a NULL pointer dereference in the ata_host_alloc_pinfo() function, which can lead to a crash or potential security issues.

Vulnerability Detail

The vulnerability in libata-core's ata_host_alloc_pinfo() function can result in a NULL pointer dereference. This occurs when the function is called with invalid or uninitialized data, causing the program to access memory at a NULL address. An attacker could potentially exploit this vulnerability to crash the system or execute arbitrary code with elevated privileges. The impact and attack plausibility of this vulnerability have not been proven yet. It is important to note that this vulnerability has been fixed in Linux Kernel version v5.18.6 by commit 07cbdb4807d369fbda73062a91b570c4dc5ec429.

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 →

Conclusion

The vulnerability in libata-core's ata_host_alloc_pinfo() function can lead to a NULL pointer dereference, potentially resulting in a system crash or arbitrary code execution. It is crucial to update the Linux Kernel to version v5.18.6 or later to fix this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The impact of this vulnerability can range from a system crash to potential execution of arbitrary code with elevated privileges.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your system is affected by this vulnerability. Simply upload your package-lock.json file and Vulert will analyze it for any open-source vulnerabilities, including this one.

No specific workaround has been provided for this vulnerability. It is recommended to update the Linux Kernel to the fixed version.

More details about the fix can be found in the commit 07cbdb4807d369fbda73062a91b570c4dc5ec429 in the Linux Kernel repository.

The remote exploitability of this vulnerability has not been determined yet. However, it is always recommended to apply security updates to mitigate potential risks.

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