CVE-2025-39771

regulator: pca9450: Use devm_register_sys_off_handler

State
Published
Severity
Not scored
Published
Sep 11, 2025
Updated
May 11, 2026
Reserved
Apr 16, 2025

Read the record on cve.org

Description

In the Linux kernel, the following vulnerability has been resolved:

regulator: pca9450: Use devm_register_sys_off_handler

With module test, there is error dump: ------------[ cut here ]------------ notifier callback pca9450_i2c_restart_handler already registered WARNING: kernel/notifier.c:23 at notifier_chain_register+0x5c/0x88, CPU#0: kworker/u16:3/50 Call trace: notifier_chain_register+0x5c/0x88 (P) atomic_notifier_chain_register+0x30/0x58 register_restart_handler+0x1c/0x28 pca9450_i2c_probe+0x418/0x538 i2c_device_probe+0x220/0x3d0 really_probe+0x114/0x410 __driver_probe_device+0xa0/0x150 driver_probe_device+0x40/0x114 __device_attach_driver+0xd4/0x12c

So use devm_register_sys_off_handler to let kernel handle the resource free to avoid kernel dump.

Scores

The record has no CVSS score.

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 6157e62b07d9331cc1d4d9d525dab33d45b0e83c to before 7a8c8aa0b0b2c62a0232bf868def85f3069ba7a7Affected
  • 6157e62b07d9331cc1d4d9d525dab33d45b0e83c to before 447be50598c05499f7ccc2b1f6ddb3da30f8099aAffected
LinuxLinux
  • 6.16Affected
  • before 6.16Not affected
  • 6.16.4 through 6.16.*Not affected
  • 6.17 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.