{"api_version":"1","generated_at":"2026-11-30T14:49:37+00:00","cve":"CVE-2026-139637","urls":{"html":"https://cve.report/CVE-2026-139637","api":"https://cve.report/api/cve/CVE-2026-139637.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-139637","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-139637"},"summary":{"title":"serial: sh-sci: Unregister UART on sysfs setup failure","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sh-sci: Unregister UART on sysfs setup failure\n\nsci_probe_single() registers the UART port before sci_probe() creates\nthe RX FIFO tuning attributes. If either device_create_file() call\nfails, probe returns an error without removing the port from the serial\ncore. Device-managed resources are then released while the port remains\nregistered.\n\nUnregister the UART port before returning either sysfs creation error.\nIf the second attribute fails, remove the first attribute before\nunregistering the port. Keep the existing probe failure policy and leave\nthe successful initialization path unchanged.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-11-30 14:19:46","updated_at":"2026-11-30 14:19:46"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/d45fdbc01e0541f4fb28c9644522b98a732e7c4f","name":"https://git.kernel.org/stable/c/d45fdbc01e0541f4fb28c9644522b98a732e7c4f","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/c5b33c86d86da3ccff8c05e2a28719e3ec933f70","name":"https://git.kernel.org/stable/c/c5b33c86d86da3ccff8c05e2a28719e3ec933f70","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/ea3964844d40b97d8947d39d52c83acaca8e6967","name":"https://git.kernel.org/stable/c/ea3964844d40b97d8947d39d52c83acaca8e6967","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/084c328f680811fe65d013d1b09d7f329e256fa4","name":"https://git.kernel.org/stable/c/084c328f680811fe65d013d1b09d7f329e256fa4","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-139637","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-139637","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5d23188a473da0b2fe6849ccf03578eebfead30e ea3964844d40b97d8947d39d52c83acaca8e6967 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5d23188a473da0b2fe6849ccf03578eebfead30e d45fdbc01e0541f4fb28c9644522b98a732e7c4f git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5d23188a473da0b2fe6849ccf03578eebfead30e 084c328f680811fe65d013d1b09d7f329e256fa4 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5d23188a473da0b2fe6849ccf03578eebfead30e c5b33c86d86da3ccff8c05e2a28719e3ec933f70 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 4.11","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 4.11 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.120 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.65 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3.6 7.3.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.4-rc1 * original_commit_for_fix","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"defaultStatus":"unaffected","product":"Linux","programFiles":["drivers/tty/serial/sh-sci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"ea3964844d40b97d8947d39d52c83acaca8e6967","status":"affected","version":"5d23188a473da0b2fe6849ccf03578eebfead30e","versionType":"git"},{"lessThan":"d45fdbc01e0541f4fb28c9644522b98a732e7c4f","status":"affected","version":"5d23188a473da0b2fe6849ccf03578eebfead30e","versionType":"git"},{"lessThan":"084c328f680811fe65d013d1b09d7f329e256fa4","status":"affected","version":"5d23188a473da0b2fe6849ccf03578eebfead30e","versionType":"git"},{"lessThan":"c5b33c86d86da3ccff8c05e2a28719e3ec933f70","status":"affected","version":"5d23188a473da0b2fe6849ccf03578eebfead30e","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/tty/serial/sh-sci.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"4.11"},{"lessThan":"4.11","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.120","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.65","versionType":"semver"},{"lessThanOrEqual":"7.3.*","status":"unaffected","version":"7.3.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.4-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.120","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.65","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3.6","versionStartIncluding":"4.11","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.4-rc1","versionStartIncluding":"4.11","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sh-sci: Unregister UART on sysfs setup failure\n\nsci_probe_single() registers the UART port before sci_probe() creates\nthe RX FIFO tuning attributes. If either device_create_file() call\nfails, probe returns an error without removing the port from the serial\ncore. Device-managed resources are then released while the port remains\nregistered.\n\nUnregister the UART port before returning either sysfs creation error.\nIf the second attribute fails, remove the first attribute before\nunregistering the port. Keep the existing probe failure policy and leave\nthe successful initialization path unchanged.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code."}],"providerMetadata":{"dateUpdated":"2026-11-30T13:36:35.387Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/ea3964844d40b97d8947d39d52c83acaca8e6967"},{"url":"https://git.kernel.org/stable/c/d45fdbc01e0541f4fb28c9644522b98a732e7c4f"},{"url":"https://git.kernel.org/stable/c/084c328f680811fe65d013d1b09d7f329e256fa4"},{"url":"https://git.kernel.org/stable/c/c5b33c86d86da3ccff8c05e2a28719e3ec933f70"}],"title":"serial: sh-sci: Unregister UART on sysfs setup failure","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-139637","datePublished":"2026-11-30T13:36:35.387Z","dateReserved":"2026-11-30T13:22:15.944Z","dateUpdated":"2026-11-30T13:36:35.387Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-11-30 14:19:46","lastModifiedDate":"2026-11-30 14:19:46","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"139637","Ordinal":"1","Title":"serial: sh-sci: Unregister UART on sysfs setup failure","CVE":"CVE-2026-139637","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"139637","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nserial: sh-sci: Unregister UART on sysfs setup failure\n\nsci_probe_single() registers the UART port before sci_probe() creates\nthe RX FIFO tuning attributes. If either device_create_file() call\nfails, probe returns an error without removing the port from the serial\ncore. Device-managed resources are then released while the port remains\nregistered.\n\nUnregister the UART port before returning either sysfs creation error.\nIf the second attribute fails, remove the first attribute before\nunregistering the port. Keep the existing probe failure policy and leave\nthe successful initialization path unchanged.\n\nThis issue was identified during our ongoing static-analysis research while\nreviewing kernel code.","Type":"Description","Title":"serial: sh-sci: Unregister UART on sysfs setup failure"}]}}}