boxscore/security
CVE · referencelatest edition

Reference page — cumulative record through Wednesday, August 19, 2026 UTC. Reference pages update as the archive grows; only dated daily editions are immutable pages of record.

CVE-2021-47496HIGH
Linux Linux — net/tls: Fix flipped sign in tls_err_abort() calls
  AV  AC  PR  UI  S  C  I  A   CVSS    EPSS   %ile   KEV
   L   L   L   N  U  H  H  H    7.8   .0048   39.7     —
AFFECTED
  Product  Versions                                    Fixed
  Linux    c46234ebb4d1eee5e09819f49169e51cfc6eb909 –  —
  Linux    4.17 –                                      5.4.157
TIMELINE
  May 22  Reserved by Linux
  May 22  Published (CNA: Linux)
  Aug 4   RESCORED — CVE-2021-47496 (Linux). CVSS 9.8 → 7.8 (NVD).
CWE-787 · CNA: Linux · CVSS v3.1 · 4 references · NVD status: Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net/tls: Fix flipped sign in tls_err_abort() calls sk->sk_err appears to expect a positive value, a convention that ktls doesn't always follow and that leads to memory corruption in other code. For instance, [kworker] tls_encrypt_done(..., err=<negative error from crypto request>) tls_err_abort(.., err) sk->sk_err = err; [task] splice_from_pipe_feed ... tls_sw_do_sendpage if (sk->sk_err) { ret = -sk->sk_err; // ret is positive splice_from_pipe_feed (continued) ret = actor(...) // ret is still positive and interpreted as bytes // written, resulting in underflow of buf->len and // sd->len, leading to huge buf->offset and bogus // addresses computed in later calls to actor() Fix all tls_err_abort() callers to pass a negative error code consistently and centralize the error-prone sign flip there, throwing in a warning to catch future misuse and uninlining the function so it really does only warn once.

Lifecycle

Complete event history — 3 events, chronological
DateEventDetail
May 22, 2024ReservedReserved by Linux
May 22, 2024PublishedPublished (CNA: Linux)
August 4, 2026RESCOREDRESCORED — CVE-2021-47496 (Linux). CVSS 9.8 → 7.8 (NVD).

Affected

Affected products and packages — 2 rows
VendorProduct / PackageEcosystemVersion introducedFixed
LinuxLinuxc46234ebb4d1eee5e09819f49169e51cfc6eb909
LinuxLinux4.175.4.157

Weaknesses

CWE-787

References (4)

Related

Authoritative record: CVE-2021-47496 at cve.org

Vendors: linux

Weaknesses: CWE-787

About this page

This is a reference page, not a dated page of record. It assembles the complete lifecycle of CVE-2021-47496 from the CVE Program record, NVD enrichment, the CISA KEV catalog, EPSS, and OSV advisories. The box score's numbers (CVSS, EPSS, KEV status) are current as of Wednesday, August 19, 2026 UTC and are re-derived as the archive grows; only dated daily editions are immutable pages of record. The authoritative source for this identifier is cve.org.