VDB

CVE-2024-46706

CVE-2024-46706 PUBLISHED

tty: serial: fsl_lpuart: mark last busy before uart_add_one_port

Reported by linux · Published September 13, 2024

In the Linux kernel, the following vulnerability has been resolved: tty: serial: fsl_lpuart: mark last busy before uart_add_one_port With "earlycon initcall_debug=1 loglevel=8" in bootargs, kernel sometimes boot hang. It is because normal console still is not ready, but runtime suspend is called, so early console putchar will hang in waiting TRDE set in UARTSTAT. The lpuart driver has auto suspend delay set to 3000ms, but during uart_add_one_port, a child device serial ctrl will added and probed with its pm runtime enabled(see serial_ctrl.c). The runtime suspend call path is: device_add |-> bus_probe_device |->device_initial_probe |->__device_attach |-> pm_runtime_get_sync(dev->parent); |-> pm_request_idle(dev); |-> pm_runtime_put(dev->parent); So in the end, before normal console ready, the lpuart get runtime suspended. And earlycon putchar will hang. To address the issue, mark last busy just after pm_runtime_enable, three seconds is long enough to switch from bootconsole to normal console.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.10.7, 6.6.48

Affected products

VendorProductVersions
LinuxLinux43543e6f539b3e646348c253059f75e27d63c94d, 43543e6f539b3e646348c253059f75e27d63c94d, 43543e6f539b3e646348c253059f75e27d63c94d
LinuxLinux6.2, 0, 6.6.48
linuxlinux_kernel6.2, 6.2, 6.2
LinuxLinux43543e6f539b3e646348c253059f75e27d63c94d, 43543e6f539b3e646348c253059f75e27d63c94d, 43543e6f539b3e646348c253059f75e27d63c94d

Timeline

  • Sep 12, 2024 CVE Published
  • Sep 14, 2024 EPSS Score (30 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (6 in total, the first dated here)
  • Jan 4, 2026 Security Advisory (60 in total, the first dated here)
  • Mar 30, 2026 Distribution Patch (48 in total, the first dated here)
  • Nov 15, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2024-46706
vulnetix vdb fixes CVE-2024-46706

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2024-46706/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›