diff options
author | Corey Minyard <corey@minyard.net> | 2025-09-05 11:33:39 -0500 |
---|---|---|
committer | Corey Minyard <corey@minyard.net> | 2025-09-08 10:21:28 -0500 |
commit | b52da4054ee0bf9ecb44996f2c83236ff50b3812 (patch) | |
tree | 18627395c7142c55282e0245c80a108bfcc8e07d /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 5d09ee1bec870263f4ace439402ea840503b503b (diff) |
ipmi: Rework user message limit handling
The limit on the number of user messages had a number of issues,
improper counting in some cases and a use after free.
Restructure how this is all done to handle more in the receive message
allocation routine, so all refcouting and user message limit counts
are done in that routine. It's a lot cleaner and safer.
Reported-by: Gilles BULOZ <gilles.buloz@kontron.com>
Closes: https://lore.kernel.org/lkml/aLsw6G0GyqfpKs2S@mail.minyard.net/
Fixes: 8e76741c3d8b ("ipmi: Add a limit on the number of users that may use IPMI")
Cc: <stable@vger.kernel.org> # 4.19
Signed-off-by: Corey Minyard <corey@minyard.net>
Tested-by: Gilles BULOZ <gilles.buloz@kontron.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions