drop_monitor: fix size calculations for 64-bit attributes (Linux Linux)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.68 % · percentile 52 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- Linux
- NVD status
- Received
Description
In the Linux kernel, the following vulnerability has been resolved: drop_monitor: fix size calculations for 64-bit attributes net_dm_packet_report_fill() and net_dm_hw_packet_report_fill() use nla_put_u64_64bit() to append 64-bit attributes (NET_DM_ATTR_PC and NET_DM_ATTR_TIMESTAMP). On 32-bit architectures without CONFIG_HAVE_EFFICIENT_UNALIGNED_ACCESS, nla_put_u64_64bit() may append a 4-byte NET_DM_ATTR_PAD attribute for 64-bit alignment. However, net_dm_packet_report_size() and net_dm_hw_packet_report_size() used nla_total_size(sizeof(u64)) instead of nla_total_size_64bit(sizeof(u64)), budgeting 12 bytes instead of up to 16 bytes. This under-estimation of SKB size can lead to an skb_over_panic() when __nla_reserve() or skb_put() is subsequently called. Fix this by using nla_total_size_64bit(sizeof(u64)) in both size calculations.
Weaknesses (CWE)
- CWE-131 — Incorrect Calculation of Buffer Size
References
- https://git.kernel.org/stable/c/1275a4769c126405c6c63b6372daff120ac679a6
- https://git.kernel.org/stable/c/0da8f531336b28a59b23e5a67d40eaed15906201
- https://git.kernel.org/stable/c/6048ed2dfb33426c8aef32f8d225ea91c66813db
- https://git.kernel.org/stable/c/925669d4cfd47a9019ab29b40676215bab5dae35
- https://git.kernel.org/stable/c/4a9e30764e80693bcf875c776170edce20f94fe0
- https://git.kernel.org/stable/c/7089f7ab99c89f443c92d8fcc585e63f2727f0b3
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | Linux |
| CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | NVD · 416baaa9-dc9f-4396-8d5f-8c081fb06d67 (Secondary) |
European references
- ENISA EUVD · EUVD-2026-55388
- GCVE · GCVE-0-2026-68287
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1375 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1333 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1289 — Multiples vulnérabilités dans le noyau Linux de Debian LTS · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1286 — Multiples vulnérabilités dans le noyau Linux d'Ubuntu · cert.ssi.gouv.fr
- CERTFR-2026-AVI-1253 — Multiples vulnérabilités dans le noyau Linux de Debian · cert.ssi.gouv.fr
Affected products
| Product | Versions |
|---|---|
| Linux · Linux | affected ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f < 1275a4769c126405c6c63b6372daff120ac679a6 ; affected ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f < 0da8f531336b28a59b23e5a67d40eaed15906201 ; affected ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f < 6048ed2dfb33426c8aef32f8d225ea91c66813db ; affected ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f < 925669d4cfd47a9019ab29b40676215bab5dae35 ; affected ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f < 4a9e30764e80693bcf875c776170edce20f94fe0 ; affected ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f < 7089f7ab99c89f443c92d8fcc585e63f2727f0b3 |
| Linux · Linux | affected 5.4 ; unaffected 0 < 5.4 ; unaffected 6.1.189 ≤ 6.1.* ; unaffected 6.6.158 ≤ 6.6.* ; unaffected 6.12.111 ≤ 6.12.* ; unaffected 6.18.53 ≤ 6.18.* |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |