CVE catalog

CVE-2023-53667

linux: CVE-2023-53667

[CVE catalog]

Severity
Medium · CVSS 6.2CVSS:3.1/AV:P/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.14% · Oct 25, 2026

In the Linux kernel, the following vulnerability has been resolved: net: cdc_ncm: Deal with too low values of dwNtbOutMaxSize Currently in cdc_ncm_check_tx_max(), if dwNtbOutMaxSize is lower than the calculated "min" value, but greater than zero, the logic sets tx_max to dwNtbOutMaxSize. This is then used to allocate a new SKB in cdc_ncm_fill_tx_frame() where all the data is handled. For small values of dwNtbOutMaxSize the memory allocated during alloc_skb(dwNtbOutMaxSize, GFP_ATOMIC) will have the same size, due to how size is aligned at alloc time: size = SKB_DATA_ALIGN(size); size += SKB_DATA_ALIGN(sizeof(struct skb_shared_info)); Thus we hit the same bug that we tried to squash with commit 2be6d4d16a084 ("net: cdc_ncm: Allow for dwNtbOutMaxSize to be unset or zero") Low values of dwNtbOutMaxSize do not cause an issue presently because at alloc_skb() time more memory (512b) is allocated than required for the SKB headers alone (320b), leaving some space (512b - 320b = 192b) for CDC data (172b). However, if more elements (for example 3 x u64 = [24b]) were added to one of the SKB header structs, say 'struct skb_shared_info', increasing its original size (320b [320b aligned]) to something larger (344b [384b aligned]), then suddenly the CDC data (172b) no longer fits in the spare SKB data area (512b - 384b = 128b). Consequently the SKB bounds checking semantics fails and panics: skbuff: skb_over_panic: text:ffffffff831f755b len:184 put:172 head:ffff88811f1c6c00 data:ffff88811f1c6c00 tail:0xb8 end:0x80 dev:<NULL> ------------[ cut here ]------------ kernel BUG at net/core/skbuff.c:113! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 0 PID: 57 Comm: kworker/0:2 Not tainted 5.15.106-syzkaller-00249-g19c0ed55a470 #0 Hardware name: Google Google Compute Engine/Google Compute Engine, BIOS Google 04/14/2023 Workqueue: mld mld_ifc_work RIP: 0010:skb_panic net/core/skbuff.c:113 [inline] RIP: 0010:skb_over_panic+0x14c/0x150 net/core/skbuff.c:118 [snip] Call Trace: <TASK> skb_put+0x151/0x210 net/core/skbuff.c:2047 skb_put_zero include/linux/skbuff.h:2422 [inline] cdc_ncm_ndp16 drivers/net/usb/cdc_ncm.c:1131 [inline] cdc_ncm_fill_tx_frame+0x11ab/0x3da0 drivers/net/usb/cdc_ncm.c:1308 cdc_ncm_tx_fixup+0xa3/0x100 Deal with too low values of dwNtbOutMaxSize, clamp it in the range [USB_CDC_NCM_NTB_MIN_OUT_SIZE, CDC_NCM_NTB_MAX_SIZE_TX]. We ensure enough data space is allocated to handle CDC data by making sure dwNtbOutMaxSize is not smaller than USB_CDC_NCM_NTB_MIN_OUT_SIZE.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlinuxsid7.2.12-1fixed
Debianlinuxforky7.2.12-1fixed
Debianlinuxtrixie6.12.107-1fixed
Debianlinuxtrixie-security6.12.113-1fixed
Debianlinuxbookworm6.1.176-1fixed
Debianlinuxbookworm-security6.1.190-1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlinuxsourcesid6.3.7-1not yet assignedNot reportedNot reported
Debianlinuxsourceforky6.3.7-1not yet assignedNot reportedNot reported
Debianlinuxsourcetrixie6.3.7-1not yet assignedNot reportedNot reported
Debianlinuxsourcebookworm6.1.37-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

Matching against OpenFactory catalog package versions is in progress.

[Debian 12 (Bookworm)]

  • [bpftool]Unknown

    Source package: [linux]

    Details (6)
    • 7.1.0+6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 7.1.0+6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 7.5.0+6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 7.5.0+6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 7.1.0+6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 7.1.0+6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • [intel-sdsi]Unknown

    Source package: [linux]

    Details (1)
    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • [libcpupower1]Unknown

    Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • [linux-bpf-dev]Unknown

    Source package: [linux]

    Details (2)
    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (2)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (4)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (6)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · amd64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · arm64 · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · amd64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · arm64 · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • [linux-doc]Unknown

    Source package: [linux]

    Details (32)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.43-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.43-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.57-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.57-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.63-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.63-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.69-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.69-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.73-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.73-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.74-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.74-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.85-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.85-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.86-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.86-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.88-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.88-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.90-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.90-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.90-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.90-2~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.94-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.94-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.12.95-1~bpo12+1 · all · bookworm-backports

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • [linux-doc-6.1]Unknown

    Source package: [linux]

    Details (6)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.176-1 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.180-1 · all · bookworm-security

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (2)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (2)
    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

    • 6.1.170-3 · all · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.170-3 · arm64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

  • Source package: [linux]

    Details (1)
    • 6.1.176-1 · amd64 · bookworm

      Fixed · Fixed: 6.1.37-1

      dsa · linux · debian · bookworm; dsa · linux · debian · 12

Next results

Observed:

References