CVE-2026-68287

drop_monitor: fix size calculations for 64-bit attributes

State
Published
Severity
7.5 High
Published
Aug 10, 2026
Updated
Oct 19, 2026
Reserved
Jul 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HLinux

Weaknesses

  • CWE-131 Incorrect Calculation of Buffer Size

Affected Products

ProductVersions
LinuxLinux
  • ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f to before 1275a4769c126405c6c63b6372daff120ac679a6Affected
  • ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f to before 0da8f531336b28a59b23e5a67d40eaed15906201Affected
  • ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f to before 6048ed2dfb33426c8aef32f8d225ea91c66813dbAffected
  • ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f to before 925669d4cfd47a9019ab29b40676215bab5dae35Affected
  • ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f to before 4a9e30764e80693bcf875c776170edce20f94fe0Affected
  • ca30707dee2bc8bc81cfd8b4277fe90f7ca6df1f to before 7089f7ab99c89f443c92d8fcc585e63f2727f0b3Affected
LinuxLinux
  • 5.4Affected
  • before 5.4Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.1.6 through 7.1.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.