summaryrefslogtreecommitdiffstats
path: root/security/Kconfig.hardening
diff options
context:
space:
mode:
authorArkadiusz Kubalewski <arkadiusz.kubalewski@intel.com>2024-01-19 14:43:03 +0100
committerDavid S. Miller <davem@davemloft.net>2024-01-22 12:01:11 +0100
commitdb2ec3c94667eaeecc6a74d96594fab6baf80fdc (patch)
treee2a6a8c8205e0b8bce9e557ec0a84cc9f52e8d6d /security/Kconfig.hardening
parentdpll: fix pin dump crash for rebound module (diff)
downloadlinux-db2ec3c94667eaeecc6a74d96594fab6baf80fdc.tar.xz
linux-db2ec3c94667eaeecc6a74d96594fab6baf80fdc.zip
dpll: fix userspace availability of pins
If parent pin was unregistered but child pin was not, the userspace would see the "zombie" pins - the ones that were registered with a parent pin (dpll_pin_on_pin_register(..)). Technically those are not available - as there is no dpll device in the system. Do not dump those pins and prevent userspace from any interaction with them. Provide a unified function to determine if the pin is available and use it before acting/responding for user requests. Fixes: 9d71b54b65b1 ("dpll: netlink: Add DPLL framework base functions") Reviewed-by: Jan Glaza <jan.glaza@intel.com> Reviewed-by: Jiri Pirko <jiri@nvidia.com> Signed-off-by: Arkadiusz Kubalewski <arkadiusz.kubalewski@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/Kconfig.hardening')
0 files changed, 0 insertions, 0 deletions