net: phylink: correctly validate returned PCS in phylink_inband_caps
In the Linux kernel, the following vulnerability has been resolved: net: phylink: correctly validate returned PCS in phylink_inband_caps In phylink_inband_caps(), the PCS returned by mac_select_pcs is only checked if NULL but mac_select_pcs can also return an error pointer. This can cause a kernel panic as phylink_pcs_inband_caps() only checks if passed PCS is not NULL and directly dereference ops from the phylink_pcs struct. Use the IS_ERR_OR_NULL macro to address both case where the returned PCS can be NULL or an error pointer and prevent a kernel panic.
CVE-2026-80993
Primary source · Revision 1
Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.
Security context
Source reference: cve:CVE-2026-80993
Linux
Source reference: /containers/cna/affected/0/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Linux
Source reference: /containers/cna/affected/1/product
- Affected versions
- Not stated in this record
- Fixed versions
- Not stated in this record
- Prerequisites
- Not stated in this record
Structured affected-version data
Original package identities and version rules from this source.
[
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "df874f9e52c340cc6f0a0014a97b778f67d46849",
"lessThan": "b6b533f83461c3730875cf3ed5ff6362dcb67be9",
"versionType": "git"
},
{
"status": "affected",
"version": "df874f9e52c340cc6f0a0014a97b778f67d46849",
"lessThan": "fb4d77553841ae85bed9b2cf03351c401e871d85",
"versionType": "git"
},
{
"status": "affected",
"version": "df874f9e52c340cc6f0a0014a97b778f67d46849",
"lessThan": "f2849b1fd059ec9b3281b771e6ac5aad9feee851",
"versionType": "git"
}
],
"programFiles": [
"drivers/net/phy/phylink.c"
],
"defaultStatus": "unaffected"
},
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"vendor": "Linux",
"product": "Linux",
"versions": [
{
"status": "affected",
"version": "6.14"
},
{
"status": "unaffected",
"version": "0",
"lessThan": "6.14",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "6.18.50",
"versionType": "semver",
"lessThanOrEqual": "6.18.*"
},
{
"status": "unaffected",
"version": "7.2.4",
"versionType": "semver",
"lessThanOrEqual": "7.2.*"
},
{
"status": "unaffected",
"version": "7.3",
"versionType": "original_commit_for_fix",
"lessThanOrEqual": "*"
}
],
"programFiles": [
"drivers/net/phy/phylink.c"
],
"defaultStatus": "affected"
}
]- Related CVEs
- CVE-2026-80993
Source reference:
/cveMetadata/cveId
Publisher severity
No explicit severity was provided.
- Event
- #34949 · Revision 1
- Added to Heist Feed
- Publisher date