serial: 8250: Reinit port->pm on port specific driver unbind

Summary

CVECVE-2023-53176
StatePUBLISHED
AssignerLinux
Source PriorityCVE Program / NVD first with legacy fallback
Published2025-09-15 14:15:39 UTC
Updated2026-08-04 10:18:56 UTC
DescriptionIn the Linux kernel, the following vulnerability has been resolved: serial: 8250: Reinit port->pm on port specific driver unbind When we unbind a serial port hardware specific 8250 driver, the generic serial8250 driver takes over the port. After that we see an oops about 10 seconds later. This can produce the following at least on some TI SoCs: Unhandled fault: imprecise external abort (0x1406) Internal error: : 1406 [#1] SMP ARM Turns out that we may still have the serial port hardware specific driver port->pm in use, and serial8250_pm() tries to call it after the port specific driver is gone: serial8250_pm [8250_base] from uart_change_pm+0x54/0x8c [serial_base] uart_change_pm [serial_base] from uart_hangup+0x154/0x198 [serial_base] uart_hangup [serial_base] from __tty_hangup.part.0+0x328/0x37c __tty_hangup.part.0 from disassociate_ctty+0x154/0x20c disassociate_ctty from do_exit+0x744/0xaac do_exit from do_group_exit+0x40/0x8c do_group_exit from __wake_up_parent+0x0/0x1c Let's fix the issue by calling serial8250_set_defaults() in serial8250_unregister_port(). This will set the port back to using the serial8250 default functions, and sets the port->pm to point to serial8250_pm.

Risk And Classification

Primary CVSS: v3.1 5.5 MEDIUM from [email protected]

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Problem Types: NVD-CWE-noinfo


VersionSourceTypeScoreSeverityVector
3.1[email protected]Primary5.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
3.1416baaa9-dc9f-4396-8d5f-8c081fb06d67Secondary7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
3.1CNADECLARED7.8HIGHCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CVSS v3.1 Breakdown

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Linux Linux Kernel All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f 490bf37eaabb0a857ed1ae8e75d8854e41662f1c git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f c9e080c3005fd183c56ff8f4d75edb5da0765d2c git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f d5cd2928d31042a7c0a01464f9a8d95be736421d git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f 2c86a1305c1406f45ea780d06953c484ea1d9e6e git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f 1ba5594739d858e524ff0f398ee1ebfe0a8b9d41 git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872 git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f 8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 git Not specified
CNA Linux Linux affected c161afe9759ddcc174d08e7c4f683d08ac9ba86f 04e82793f068d2f0ffe62fcea03d007a8cdc16a7 git Not specified
CNA Linux Linux affected 2.6.37 Not specified
CNA Linux Linux unaffected 2.6.37 semver Not specified
CNA Linux Linux unaffected 4.14.316 4.14.* semver Not specified
CNA Linux Linux unaffected 4.19.284 4.19.* semver Not specified
CNA Linux Linux unaffected 5.4.244 5.4.* semver Not specified
CNA Linux Linux unaffected 5.10.181 5.10.* semver Not specified
CNA Linux Linux unaffected 5.15.113 5.15.* semver Not specified
CNA Linux Linux unaffected 6.1.30 6.1.* semver Not specified
CNA Linux Linux unaffected 6.3.4 6.3.* semver Not specified
CNA Linux Linux unaffected 6.4 * original_commit_for_fix Not specified

References

ReferenceSourceLinkTags
git.kernel.org/stable/c/1ba5594739d858e524ff0f398ee1ebfe0a8b9d41 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/490bf37eaabb0a857ed1ae8e75d8854e41662f1c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/2c86a1305c1406f45ea780d06953c484ea1d9e6e 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/8e596aed5f2f98cf3e6e98d6fe1d689f4a319308 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/04e82793f068d2f0ffe62fcea03d007a8cdc16a7 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/c9e080c3005fd183c56ff8f4d75edb5da0765d2c 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/d5cd2928d31042a7c0a01464f9a8d95be736421d 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
git.kernel.org/stable/c/af4d6dbb1a92ea424ad1ba1d0c88c7fa2345d872 416baaa9-dc9f-4396-8d5f-8c081fb06d67 git.kernel.org Patch
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report