{"api_version":"1","generated_at":"2026-09-17T23:59:17+00:00","cve":"CVE-2026-93142","urls":{"html":"https://cve.report/CVE-2026-93142","api":"https://cve.report/api/cve/CVE-2026-93142.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-93142","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-93142"},"summary":{"title":"thermal/drivers/rcar: Fix error checking in probe()","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/rcar: Fix error checking in probe()\n\nThis code accidentally calls thermal_zone_device_enable() before checking\nwhether thermal_zone_device_register_with_trips() failed.  Move the call\nuntil later to avoid an error pointer dereference of \"priv->zone\".\n\nThe driver works differently depending on if we are using OF thermal or\nnot.  We use thermal_add_hwmon_sysfs() if we are using OF thermal and\ncall thermal_zone_device_enable() if not.  We can share same error check\nfor if either of these fail.\n\nMoving the thermal_zone_device_enable() call is a bit cleaner as well.\nThe original code used a three step process to cleanup:\n1. Call thermal_zone_device_unregister() to cleanup.\n2. Set priv->zone to an error pointer to preserve the error code.\n3. Set priv->zone to NULL to avoid a second call to\n   thermal_zone_device_unregister() in the rcar_thermal_remove()\n   function.\n\nNow we can just do a direct goto error_unregister and rcar_thermal_remove()\nhandles the cleanup properly.","state":"PUBLISHED","assigner":"Linux","published_at":"2026-09-17 17:18:09","updated_at":"2026-09-17 17:18:09"},"problem_types":[],"metrics":[],"references":[{"url":"https://git.kernel.org/stable/c/35bf61798e7d4abf39667d98f298f793b3dd9bbe","name":"https://git.kernel.org/stable/c/35bf61798e7d4abf39667d98f298f793b3dd9bbe","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/a85bcd0c7ef66e3404b3c99e5589c5ea622a757e","name":"https://git.kernel.org/stable/c/a85bcd0c7ef66e3404b3c99e5589c5ea622a757e","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d","name":"https://git.kernel.org/stable/c/dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/810875c5996f731961fc5ee1bd24e711f2e8fe78","name":"https://git.kernel.org/stable/c/810875c5996f731961fc5ee1bd24e711f2e8fe78","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/623349a18d4c6e6add7876553c0cb6947c8d92e6","name":"https://git.kernel.org/stable/c/623349a18d4c6e6add7876553c0cb6947c8d92e6","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://git.kernel.org/stable/c/d67607e7749527850619a10d3ed033b02dcea516","name":"https://git.kernel.org/stable/c/d67607e7749527850619a10d3ed033b02dcea516","refsource":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-93142","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-93142","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bbcf90c0646ac797700269fa6645a6a46466c79f a85bcd0c7ef66e3404b3c99e5589c5ea622a757e git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bbcf90c0646ac797700269fa6645a6a46466c79f 810875c5996f731961fc5ee1bd24e711f2e8fe78 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bbcf90c0646ac797700269fa6645a6a46466c79f 623349a18d4c6e6add7876553c0cb6947c8d92e6 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bbcf90c0646ac797700269fa6645a6a46466c79f 35bf61798e7d4abf39667d98f298f793b3dd9bbe git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bbcf90c0646ac797700269fa6645a6a46466c79f d67607e7749527850619a10d3ed033b02dcea516 git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected bbcf90c0646ac797700269fa6645a6a46466c79f dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d git","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"affected 5.9","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 5.9 semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.1.188 6.1.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.6.157 6.6.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.12.110 6.12.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 6.18.52 6.18.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.2.6 7.2.* semver","platforms":[]},{"source":"CNA","vendor":"Linux","product":"Linux","version":"unaffected 7.3-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/thermal/renesas/rcar_thermal.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"lessThan":"a85bcd0c7ef66e3404b3c99e5589c5ea622a757e","status":"affected","version":"bbcf90c0646ac797700269fa6645a6a46466c79f","versionType":"git"},{"lessThan":"810875c5996f731961fc5ee1bd24e711f2e8fe78","status":"affected","version":"bbcf90c0646ac797700269fa6645a6a46466c79f","versionType":"git"},{"lessThan":"623349a18d4c6e6add7876553c0cb6947c8d92e6","status":"affected","version":"bbcf90c0646ac797700269fa6645a6a46466c79f","versionType":"git"},{"lessThan":"35bf61798e7d4abf39667d98f298f793b3dd9bbe","status":"affected","version":"bbcf90c0646ac797700269fa6645a6a46466c79f","versionType":"git"},{"lessThan":"d67607e7749527850619a10d3ed033b02dcea516","status":"affected","version":"bbcf90c0646ac797700269fa6645a6a46466c79f","versionType":"git"},{"lessThan":"dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d","status":"affected","version":"bbcf90c0646ac797700269fa6645a6a46466c79f","versionType":"git"}]},{"defaultStatus":"affected","product":"Linux","programFiles":["drivers/thermal/renesas/rcar_thermal.c"],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","vendor":"Linux","versions":[{"status":"affected","version":"5.9"},{"lessThan":"5.9","status":"unaffected","version":"0","versionType":"semver"},{"lessThanOrEqual":"6.1.*","status":"unaffected","version":"6.1.188","versionType":"semver"},{"lessThanOrEqual":"6.6.*","status":"unaffected","version":"6.6.157","versionType":"semver"},{"lessThanOrEqual":"6.12.*","status":"unaffected","version":"6.12.110","versionType":"semver"},{"lessThanOrEqual":"6.18.*","status":"unaffected","version":"6.18.52","versionType":"semver"},{"lessThanOrEqual":"7.2.*","status":"unaffected","version":"7.2.6","versionType":"semver"},{"lessThanOrEqual":"*","status":"unaffected","version":"7.3-rc1","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.1.188","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.6.157","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.12.110","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"6.18.52","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.2.6","versionStartIncluding":"5.9","vulnerable":true},{"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionEndExcluding":"7.3-rc1","versionStartIncluding":"5.9","vulnerable":true}],"negate":false,"operator":"OR"}]}],"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/rcar: Fix error checking in probe()\n\nThis code accidentally calls thermal_zone_device_enable() before checking\nwhether thermal_zone_device_register_with_trips() failed.  Move the call\nuntil later to avoid an error pointer dereference of \"priv->zone\".\n\nThe driver works differently depending on if we are using OF thermal or\nnot.  We use thermal_add_hwmon_sysfs() if we are using OF thermal and\ncall thermal_zone_device_enable() if not.  We can share same error check\nfor if either of these fail.\n\nMoving the thermal_zone_device_enable() call is a bit cleaner as well.\nThe original code used a three step process to cleanup:\n1. Call thermal_zone_device_unregister() to cleanup.\n2. Set priv->zone to an error pointer to preserve the error code.\n3. Set priv->zone to NULL to avoid a second call to\n   thermal_zone_device_unregister() in the rcar_thermal_remove()\n   function.\n\nNow we can just do a direct goto error_unregister and rcar_thermal_remove()\nhandles the cleanup properly."}],"providerMetadata":{"dateUpdated":"2026-09-17T16:11:41.430Z","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux"},"references":[{"url":"https://git.kernel.org/stable/c/a85bcd0c7ef66e3404b3c99e5589c5ea622a757e"},{"url":"https://git.kernel.org/stable/c/810875c5996f731961fc5ee1bd24e711f2e8fe78"},{"url":"https://git.kernel.org/stable/c/623349a18d4c6e6add7876553c0cb6947c8d92e6"},{"url":"https://git.kernel.org/stable/c/35bf61798e7d4abf39667d98f298f793b3dd9bbe"},{"url":"https://git.kernel.org/stable/c/d67607e7749527850619a10d3ed033b02dcea516"},{"url":"https://git.kernel.org/stable/c/dd04ad1cdabcad51e34b74b4e91b9aeb7180d05d"}],"title":"thermal/drivers/rcar: Fix error checking in probe()","x_generator":{"engine":"bippy-1.2.0"}}},"cveMetadata":{"assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","assignerShortName":"Linux","cveId":"CVE-2026-93142","datePublished":"2026-09-17T16:11:41.430Z","dateReserved":"2026-09-17T16:02:15.088Z","dateUpdated":"2026-09-17T16:11:41.430Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-09-17 17:18:09","lastModifiedDate":"2026-09-17 17:18:09","problem_types":[],"metrics":[],"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"93142","Ordinal":"1","Title":"thermal/drivers/rcar: Fix error checking in probe()","CVE":"CVE-2026-93142","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"93142","Ordinal":"1","NoteData":"In the Linux kernel, the following vulnerability has been resolved:\n\nthermal/drivers/rcar: Fix error checking in probe()\n\nThis code accidentally calls thermal_zone_device_enable() before checking\nwhether thermal_zone_device_register_with_trips() failed.  Move the call\nuntil later to avoid an error pointer dereference of \"priv->zone\".\n\nThe driver works differently depending on if we are using OF thermal or\nnot.  We use thermal_add_hwmon_sysfs() if we are using OF thermal and\ncall thermal_zone_device_enable() if not.  We can share same error check\nfor if either of these fail.\n\nMoving the thermal_zone_device_enable() call is a bit cleaner as well.\nThe original code used a three step process to cleanup:\n1. Call thermal_zone_device_unregister() to cleanup.\n2. Set priv->zone to an error pointer to preserve the error code.\n3. Set priv->zone to NULL to avoid a second call to\n   thermal_zone_device_unregister() in the rcar_thermal_remove()\n   function.\n\nNow we can just do a direct goto error_unregister and rcar_thermal_remove()\nhandles the cleanup properly.","Type":"Description","Title":"thermal/drivers/rcar: Fix error checking in probe()"}]}}}