GCC 12 Array-Bounds Warning in eth: tg3

Kernel Updated 02 Oct 2025

Summary

28/06/2022
N/A
No i
Unrated
Not published

GSD-2022-1003986: eth: tg3: silence the GCC 12 array-bounds warning. Affects Kernel versions < d5ef9f9b979d86adebca130f5c1dbd9ced3920b8. 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 eth: tg3 vulnerability affects the Kernel package in the Linux ecosystem. The Kernel package is a critical component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software. The tg3 driver within the Kernel package is specifically used for Broadcom Tigon3 Ethernet devices. This vulnerability relates to a GCC 12 array-bounds warning in the tg3 driver code.

Vulnerability Detail

The vulnerability arises from a GCC 12 array-bounds warning in the tg3 driver code. The warning indicates a potential out-of-bounds access to an array, which could lead to memory corruption or other security issues. While the impact and attack plausibility have not been proven, it is crucial to address this warning to mitigate any potential risks. The vulnerability has been fixed in Linux Kernel version v4.14.283 by commit d5ef9f9b979d86adebca130f5c1dbd9ced3920b8.

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 GCC 12 array-bounds warning in the eth: tg3 driver code of the Kernel package poses a potential security risk. It is recommended to update the Kernel package to version v4.14.283 or later to address this vulnerability. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for Kernel →

Share this vulnerability

FAQ

The Kernel package is a critical component of the Linux operating system, responsible for managing system resources and providing an interface between hardware and software.

The tg3 driver is a specific driver within the Kernel package used for Broadcom Tigon3 Ethernet devices.

A GCC 12 array-bounds warning is a warning generated by the GCC compiler indicating a potential out-of-bounds access to an array in the code.

The potential risks of this vulnerability include memory corruption and other security issues that could be exploited by attackers.

You can use Vulert's playground at Vulert Scanner to check if your system is affected by this vulnerability. Simply upload your package-lock.json file to the playground, and it will analyze and alert you in real-time for any open-source vulnerabilities, including this one.

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