{"id":"CVE-2026-143327","state":"PUBLISHED","title":"regulator: qcom_spmi: don't take a sleeping lock in the SAW IPI","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: qcom_spmi: don't take a sleeping lock in the SAW IPI\n\nThe SAW voltage change runs on CPU 0 from an IPI, but it reaches the SAW\nregisters through the syscon regmap, which is protected by a spinlock_t.\nThat is a sleeping lock on PREEMPT_RT, and lockdep complains as soon as\nVDD_APCC actually changes voltage:\n\n  BUG: Invalid wait context\n  ...\n  regmap_lock_spinlock+0x18/0x30\n  regmap_read+0x3c/0x78\n  spmi_saw_set_vdd+0x50/0x1ac\n  __flush_smp_call_function_queue+0x1ac/0x334\n\nMap the SAW with a regmap of our own that uses a raw spinlock, and fail\nthe probe when that cannot be done instead of carrying an error pointer\naround as the SAW regmap.","publishedAt":"2026-12-03T09:21:52.964Z","updatedAt":"2026-12-03T09:21:52.964Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"776612d82a779ecbf6073543221626ecf94c146f","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"9c59f3a82ddd7a02c5f469614e4fab8b349d5326","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"4f5efee8617f190ff060bbcf9eab17c3e8ab60fb","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"0f4c94dc92957cc60d39c806bba051b52124aa86","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"7d5c860fa783c09139c47b597926b5eb165a9920","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"053c50a7052549aab0d310ad505947db3e211592","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/Kconfig","drivers/regulator/qcom_spmi-regulator.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/Kconfig","drivers/regulator/qcom_spmi-regulator.c"]}],"references":["https://git.kernel.org/stable/c/776612d82a779ecbf6073543221626ecf94c146f","https://git.kernel.org/stable/c/9c59f3a82ddd7a02c5f469614e4fab8b349d5326","https://git.kernel.org/stable/c/4f5efee8617f190ff060bbcf9eab17c3e8ab60fb","https://git.kernel.org/stable/c/0f4c94dc92957cc60d39c806bba051b52124aa86","https://git.kernel.org/stable/c/7d5c860fa783c09139c47b597926b5eb165a9920","https://git.kernel.org/stable/c/053c50a7052549aab0d310ad505947db3e211592"],"weaknesses":[],"ingestedAt":"2026-12-03T09:44:04.436Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/143xxx/CVE-2026-143327.json","commit":"9e309c7c0f08856e2558a1df33f75dca027fab70","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-143327","state":"PUBLISHED","datePublished":"2026-12-03T09:21:52.964Z","dateUpdated":"2026-12-03T09:21:52.964Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2026-12-03T03:10:28.367Z"},"containers":{"cna":{"title":"regulator: qcom_spmi: don't take a sleeping lock in the SAW IPI","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nregulator: qcom_spmi: don't take a sleeping lock in the SAW IPI\n\nThe SAW voltage change runs on CPU 0 from an IPI, but it reaches the SAW\nregisters through the syscon regmap, which is protected by a spinlock_t.\nThat is a sleeping lock on PREEMPT_RT, and lockdep complains as soon as\nVDD_APCC actually changes voltage:\n\n  BUG: Invalid wait context\n  ...\n  regmap_lock_spinlock+0x18/0x30\n  regmap_read+0x3c/0x78\n  spmi_saw_set_vdd+0x50/0x1ac\n  __flush_smp_call_function_queue+0x1ac/0x334\n\nMap the SAW with a regmap of our own that uses a raw spinlock, and fail\nthe probe when that cannot be done instead of carrying an error pointer\naround as the SAW regmap."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"776612d82a779ecbf6073543221626ecf94c146f","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"9c59f3a82ddd7a02c5f469614e4fab8b349d5326","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"4f5efee8617f190ff060bbcf9eab17c3e8ab60fb","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"0f4c94dc92957cc60d39c806bba051b52124aa86","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"7d5c860fa783c09139c47b597926b5eb165a9920","versionType":"git"},{"version":"0caecaa87202b667591d57e8ca233ee1b548ba13","status":"affected","lessThan":"053c50a7052549aab0d310ad505947db3e211592","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/Kconfig","drivers/regulator/qcom_spmi-regulator.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.18","status":"affected"},{"version":"0","status":"unaffected","lessThan":"4.18","versionType":"semver"},{"version":"5.10.276","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.227","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.12.120","status":"unaffected","lessThanOrEqual":"6.12.*","versionType":"semver"},{"version":"6.18.66","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.7","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc2","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/regulator/Kconfig","drivers/regulator/qcom_spmi-regulator.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/776612d82a779ecbf6073543221626ecf94c146f"},{"url":"https://git.kernel.org/stable/c/9c59f3a82ddd7a02c5f469614e4fab8b349d5326"},{"url":"https://git.kernel.org/stable/c/4f5efee8617f190ff060bbcf9eab17c3e8ab60fb"},{"url":"https://git.kernel.org/stable/c/0f4c94dc92957cc60d39c806bba051b52124aa86"},{"url":"https://git.kernel.org/stable/c/7d5c860fa783c09139c47b597926b5eb165a9920"},{"url":"https://git.kernel.org/stable/c/053c50a7052549aab0d310ad505947db3e211592"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-12-03T09:21:52.964Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"5.10.276"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"5.15.227"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.12.120"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"6.18.66"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.3.7"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"4.18","versionEndExcluding":"7.4-rc2"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}