diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-15 13:24:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-12-20 15:38:01 +0100 |
commit | 123e44b9a49a42ff5313ec65256f1540d7c52fa0 (patch) | |
tree | ae2e919e5a7a554a804e343e2ee02e556ec1a6f9 /firmware | |
parent | 7023ef19d984a202e052404bd24da3f0823ff906 (diff) | |
download | linux-stable-123e44b9a49a42ff5313ec65256f1540d7c52fa0.tar.gz linux-stable-123e44b9a49a42ff5313ec65256f1540d7c52fa0.tar.bz2 linux-stable-123e44b9a49a42ff5313ec65256f1540d7c52fa0.zip |
cred: switch to using atomic_long_t
commit f8fa5d76925991976b3e7076f9d1052515ec1fca upstream.
There are multiple ways to grab references to credentials, and the only
protection we have against overflowing it is the memory required to do
so.
With memory sizes only moving in one direction, let's bump the reference
count to 64-bit and move it outside the realm of feasibly overflowing.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'firmware')
0 files changed, 0 insertions, 0 deletions