CVE-2021-47216

scsi: advansys: Fix kernel pointer leak

No CVSS score yet EPSS 0.23%

Published 10 Apr 2024 Updated 11 May 2026 CNA: Linux

Check your servers for CVE-2021-47216

The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2021-47216 affects the running kernel, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.

Check my servers

Description

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

scsi: advansys: Fix kernel pointer leak

Pointers should be printed with %p or %px rather than cast to 'unsigned long' and printed with %lx.

Change %lx to %p to print the hashed pointer.

Exploitation

EPSS 0.23%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 14.1% of all scored CVEs. Scores of 1 Dec 2026.

The assessment of CISA (SSVC, 10 Sep 2024):

Exploitation
none: CISA did not find evidence of exploitation or a public proof of concept
Automatable
no: each attack takes manual steps
Technical impact
partial: limited control or limited data

Affected products

As the CNA lists them.

ProductVersions
Linux
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before 06d7d12efb5c62db9dea15141ae2b322c2719515
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before ad19f7046c24f95c674fbea21870479b2b9f5bab
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before 5612287991debe310c914600599bd59511ababfb
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before f5a0ba4a9b5e70e7b2f767636d26523f9d1ac59d
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before cc248790bfdcf879e3094fa248c85bf92cdf9dae
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before 055eced3edf5b675d12189081303f6285ef26511
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before 27490ae6a85a70242d80615ca74d0362a820d6a7
affected from 31491e1ac425edc6b80a670a71ac8d2dfdd78417, before d4996c6eac4c81b8872043e9391563f67f13e406
Other versions: unaffected
Linux
affected 3.10
unaffected before 3.10
unaffected from 4.4.293 up to and including 4.4.*
unaffected from 4.9.291 up to and including 4.9.*
unaffected from 4.14.256 up to and including 4.14.*
unaffected from 4.19.218 up to and including 4.19.*
unaffected from 5.4.162 up to and including 5.4.*
unaffected from 5.10.82 up to and including 5.10.*
unaffected from 5.15.5 up to and including 5.15.*
unaffected 5.16 and later
Other versions: affected

Is my server affected?

This CVE is in the Linux kernel. Compare the running kernel with the fixed kernel version of your distribution, and reboot after a kernel update:

uname -r
# Debian, Ubuntu: does the changelog of the running kernel name the CVE?
zgrep -l CVE-2021-47216 /usr/share/doc/linux-image-$(uname -r)/changelog.Debian.gz
# RHEL, Rocky, Alma
rpm -q --changelog kernel | grep CVE-2021-47216

With Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:

trivy rootfs --scanners vuln / | grep CVE-2021-47216
trivy image --scanners vuln IMAGE | grep CVE-2021-47216

Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.

References

Other references

Source: the record CVE-2021-47216 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST. The text of the record is shown as published. Data sources and licences.