Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2024-27060

MEDIUM 5.5EPSS 16%

thunderbolt: Fix NULL pointer dereference in tb_port_update_credits()

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= 9b6933e9bddc04655a894c74cd5c62202a5e3d89, < 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < ce64ba1f6ec3439e4b4d880b4db99673f4507228; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < d3d17e23d1a0d1f959b4fa55b35f1802d9c584fa
  • Anyone running Linux 6.7

Vulnerability facts

Affected
Linux >= 9b6933e9bddc04655a894c74cd5c62202a5e3d89, < 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < ce64ba1f6ec3439e4b4d880b4db99673f4507228; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < d3d17e23d1a0d1f959b4fa55b35f1802d9c584fa; Linux 6.7
Fixed in
Linux 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.30% chance of exploitation in 30 days (percentile 16, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: thunderbolt: Fix NULL pointer dereference in tb_port_update_credits() Olliver reported that his system crashes when plugging in Thunderbolt 1 device: BUG: kernel NULL pointer dereference, address: 0000000000000020 #PF: supervisor read access in kernel mode #PF: error_code(0x0000) - not-present page PGD 0 P4D 0 Oops: 0000 [#1] PREEMPT SMP NOPTI RIP: 0010:tb_port_do_update_credits+0x1b/0x130 [thunderbolt] Call Trace: <TASK> ? __die+0x23/0x70 ? page_fault_oops+0x171/0x4e0 ? exc_page_fault+0x7f/0x180 ? asm_exc_page_fault+0x26/0x30 ? tb_port_do_update_credits+0x1b/0x130 ? tb_switch_update_link_attributes+0x83/0xd0 tb_switch_add+0x7a2/0xfe0 tb_scan_port+0x236/0x6f0 tb_handle_hotplug+0x6db/0x900 process_one_work+0x171/0x340 worker_thread+0x27b/0x3a0 ? __pfx_worker_thread+0x10/0x10 kthread+0xe5/0x120 ? __pfx_kthread+0x10/0x10 ret_from_fork+0x31/0x50 ? __pfx_kthread+0x10/0x10 ret_from_fork_asm+0x1b/0x30 </TASK> This is due the fact that some Thunderbolt 1 devices only have one lane adapter. Fix this by checking for the lane 1 before we read its credits.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= 9b6933e9bddc04655a894c74cd5c62202a5e3d89, < 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < ce64ba1f6ec3439e4b4d880b4db99673f4507228; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < d3d17e23d1a0d1f959b4fa55b35f1802d9c584fa—cvelist
Linux6.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2024-27060. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-27060.md
Affected: Linux >= 9b6933e9bddc04655a894c74cd5c62202a5e3d89, < 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < ce64ba1f6ec3439e4b4d880b4db99673f4507228; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < d3d17e23d1a0d1f959b4fa55b35f1802d9c584fa; Linux 6.7
Fixed in: Linux 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2024-27060 being exploited?

There is no confirmed exploitation: CVE-2024-27060 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2024-27060?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2024-27060?

Linux >= 9b6933e9bddc04655a894c74cd5c62202a5e3d89, < 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < ce64ba1f6ec3439e4b4d880b4db99673f4507228; >= 81af2952e60603d12415e1a6fd200f8073a2ad8b, < d3d17e23d1a0d1f959b4fa55b35f1802d9c584fa; Linux 6.7.

Is there a fix for CVE-2024-27060?

Yes. Fixed in Linux 440fba897c5ae32d7df1f1d609dbb19e2bba7fbb. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2024-27060?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors