BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2021-47107 in Linux Kernel and 1 more product

High 7.8 Industrial / OT

In the Linux kernel, the following vulnerability has been resolved: NFSD: Fix READDIR buffer overflow If a client sends a READDIR count argument that is too small (say, zero), then the buffer size calculation in the new init_dirlist helper functions results in an underflow, allowing the XDR stream functions to write beyond the actual buffer. This calculation has always been suspect. NFSD has never sanity- checked the READDIR count argument, but the old entry encoders managed the problem correctly. With the commits below, entry encoding changed, exposing the underflow to the pointer arithmetic in xdr_reserve_space(). Modern NFS clients attempt to retrieve as much data as possible for each READDIR request. Also, we have no unit tests that exercise the behavior of READDIR at the lower bound of @count values. Thus this case was missed during testing.

Affects 2 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.17.8
EPSS0.8%
EPSS percentile59th

Requires local access, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Linux Linux Kernel 5.16 ≥ 5.13, < 5.15.12
Linux Linux 5.13
Siemens — —
Siemens Simatic S7-1500 Tm Mfp Firmware < 1.1.1

Fix and vendor advisory

  • SIMATIC S7-1500 TM MFP - GNU/Linux subsystem before V1.1.1: Update to V1.1.1 or later version

Source: SSA-265688

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2021-47107
BreachSpider IDBS-2024-GLOBAL-302970-H
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2024-03-04
Last modified2026-10-14
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement input validation on the server side to ensure that the count argument in READDIR requests is within a safe range before processing. Additionally, monitor network traffic for suspicious patterns that may indicate an attempt to exploit this vulnerability.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-14.