Critical NULL Pointer Dereference in Linux Kernel's STMMAC Driver

linux Updated 02 Oct 2025

Summary

27/03/2025
N/A
Yes i
Medium
5.5

CVE-2023-53011: In the Linux kernel, the following vulnerability has been resolved: net: stmmac: enable all safety features by default In the original implementation of dwmac5 commit 8bf993a5877e ("net: stmmac: Add support for DWMAC5 an... Affects linux versions < 6.1.11-1. Fixed in 6.1.11-1. 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 Linux kernel is a core component of many operating systems, providing essential services for hardware management and system resources. The STMMAC driver is responsible for Ethernet communication in various hardware platforms. This driver supports multiple safety features to enhance reliability, particularly in automotive applications. However, a recent vulnerability has been identified that could lead to system instability due to improper handling of safety feature configurations.

Vulnerability Detail

A vulnerability has been discovered in the STMMAC driver of the Linux kernel, specifically related to the handling of safety features. Initially, all safety features were enabled by default. However, subsequent changes allowed selective enabling based on platform capabilities. This led to a situation where platforms lacking specific software support could trigger a NULL pointer dereference when the automotive safety package bit is set in the hardware features register. This can result in system crashes or unexpected behavior, posing a significant risk to systems relying on this driver.

How To Fix

Minimum fixed version

6.1.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

Currently, there are no specific workarounds provided for this vulnerability. It is advisable to apply the patch as soon as it is available to mitigate the risk.

Conclusion

The CVE-2023-53011 vulnerability in the Linux kernel's STMMAC driver poses a significant risk due to improper handling of safety features, leading to potential system crashes. It is essential for users to update their systems to the patched version to ensure safety and stability.

See every vulnerability recorded for linux →

Share this vulnerability

FAQ

CVE-2023-53011 is a vulnerability in the Linux kernel's STMMAC driver that can lead to a NULL pointer dereference, potentially causing system crashes.

The vulnerability affects Linux versions prior to 6.1.11-1 in Debian 12 and 13.

You can use tools like Vulert to monitor and alert for open-source vulnerabilities in your software. Visit Vulert Scanner to check if your application is affected.

While there are no specific workarounds, it is crucial to plan for an update as soon as possible to mitigate the risks associated with this vulnerability.

Exploiting this vulnerability can lead to system instability, crashes, and unexpected behavior, particularly in automotive applications relying on the STMMAC driver.

Related vulnerabilities

Recent vulnerabilities recorded for linux.

How To Fix

Minimum fixed version

6.1.11-1

This is the first release that contains the fix.

sudo apt-get install --only-upgrade linux

Tip — Not sure which version your app runs? Vulert can match this fix to it. 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