Description
In the Linux kernel, the following vulnerability has been resolved: platform/x86: hp-bioscfg: Fix kobject warnings for empty attribute names The hp-bioscfg driver attempts to register kobjects with empty names when the HP BIOS returns attributes with empty name strings. This causes multiple kernel warnings: kobject: (00000000135fb5e6): attempted to be registered with empty name! WARNING: CPU: 14 PID: 3336 at lib/kobject.c:219 kobject_add_internal+0x2eb/0x310 Add validation in hp_init_bios_buffer_attribute() to check if the attribute name is empty after parsing it from the WMI buffer. If empty, log a debug message and skip registration of that attribute, allowing the module to continue processing other valid attributes.
Product status
a34fc329b1895fc8a6eb12099adc47009421ba6a (git) before 29917c80aa96a25cbcf5876fd774a1cfd72b01a9
a34fc329b1895fc8a6eb12099adc47009421ba6a (git) before 6476be59b7162b891b7bddbd0c2924d87379ef6c
a34fc329b1895fc8a6eb12099adc47009421ba6a (git) before 800b2767905d6b409b8bbe357121970f0b489a89
a34fc329b1895fc8a6eb12099adc47009421ba6a (git) before fdee1b09721605f532352628d0a24623e7062efb
6.6
Any version before 6.6
6.6.122 (semver)
6.12.68 (semver)
6.18.8 (semver)
6.19 (original_commit_for_fix)
References
git.kernel.org/...c/29917c80aa96a25cbcf5876fd774a1cfd72b01a9
git.kernel.org/...c/6476be59b7162b891b7bddbd0c2924d87379ef6c
git.kernel.org/...c/800b2767905d6b409b8bbe357121970f0b489a89
git.kernel.org/...c/fdee1b09721605f532352628d0a24623e7062efb