e1000/e1000e: Fix leak in DMA error cleanup (Linux Linux)

CVE-2026-43445
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.12 % · percentile 2 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Analyzed

Description

In the Linux kernel, the following vulnerability has been resolved: e1000/e1000e: Fix leak in DMA error cleanup If an error is encountered while mapping TX buffers, the driver should unmap any buffers already mapped for that skb. Because count is incremented after a successful mapping, it will always match the correct number of unmappings needed when dma_error is reached. Decrementing count before the while loop in dma_error causes an off-by-one error. If any mapping was successful before an unsuccessful mapping, exactly one DMA mapping would leak. In these commits, a faulty while condition caused an infinite loop in dma_error: Commit 03b1320dfcee ("e1000e: remove use of skb_dma_map from e1000e driver") Commit 602c0554d7b0 ("e1000: remove use of skb_dma_map from e1000 driver") Commit c1fa347f20f1 ("e1000/e1000e/igb/igbvf/ixgb/ixgbe: Fix tests of unsigned in *_tx_map()") fixed the infinite loop, but introduced the off-by-one error. This issue may still exist in the igbvf driver, but I did not address it in this patch.

Weaknesses (CWE)

  • CWE-401 — Missing Release of Memory after Effective Lifetime

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected c1fa347f20f17f14a4a1575727fa24340e8a9117 < 7eaeb778bfaa3b2a804f89321c234d59c74569db ; affected c1fa347f20f17f14a4a1575727fa24340e8a9117 < 0606c24a745bafd1be5d66c48361638cd9cad74b ; affected c1fa347f20f17f14a4a1575727fa24340e8a9117 < 519051c711dfd239ef6e4b28878efee400a035f9 ; affected c1fa347f20f17f14a4a1575727fa24340e8a9117 < 0a1fc25deabab4efce64610e3c449485c4fa8f5f ; affected c1fa347f20f17f14a4a1575727fa24340e8a9117 < fa5ba9867a55e640df0dc79bf0199770fb043f03 ; affected c1fa347f20f17f14a4a1575727fa24340e8a9117 < 30e87ade8d678c25a8546cf38c0b498fa5cb27d3
Linux · Linuxaffected 2.6.33 ; unaffected 0 < 2.6.33 ; unaffected 5.10.253 ≤ 5.10.* ; unaffected 5.15.203 ≤ 5.15.* ; unaffected 6.1.167 ≤ 6.1.* ; unaffected 6.6.130 ≤ 6.6.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD