CVE-2021-47559

See a problem?
Source
https://nvd.nist.gov/vuln/detail/CVE-2021-47559
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-47559.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2021-47559
Related
Published
2024-05-24T15:15:20Z
Modified
2024-09-11T04:41:14.253075Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

In the Linux kernel, the following vulnerability has been resolved:

net/smc: Fix NULL pointer dereferencing in smcvlanby_tcpsk()

Coverity reports a possible NULL dereferencing problem:

in smcvlanbytcpsk(): 6. returnednull: netdevlowergetnext returns NULL (checked 29 out of 30 times). 7. varassigned: Assigning: ndev = NULL return value from netdevlowergetnext. 1623 ndev = (struct netdevice *)netdevlowergetnext(ndev, &lower); CID 1468509 (#1 of 1): Dereference null return value (NULLRETURNS) 8. dereference: Dereferencing a pointer that might be NULL ndev when calling isvlandev. 1624 if (isvlandev(ndev)) {

Remove the manual implementation and use netdevwalkalllowerdev() to iterate over the lower devices. While on it remove an obsolete function parameter comment.

References

Affected packages

Debian:11 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.10.84-1

Affected versions

5.*

5.10.46-4
5.10.46-5
5.10.70-1~bpo10+1
5.10.70-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:12 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / linux

Package

Name
linux
Purl
pkg:deb/debian/linux?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.15-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}