diff options
| author | Tetsuo Handa <[email protected]> | 2021-04-12 13:45:50 +0000 |
|---|---|---|
| committer | Casey Schaufler <[email protected]> | 2021-05-10 20:55:08 +0000 |
| commit | 49ec114a6e62d8d320037ce71c1aaf9650b3cafd (patch) | |
| tree | 9026cbc37cf4c0c23f100109ef9c3fc574a30467 /net/switchdev/switchdev.c | |
| parent | security/smack/: fix misspellings using codespell tool (diff) | |
| download | kernel-49ec114a6e62d8d320037ce71c1aaf9650b3cafd.tar.gz kernel-49ec114a6e62d8d320037ce71c1aaf9650b3cafd.zip | |
smackfs: restrict bytes count in smk_set_cipso()
Oops, I failed to update subject line.
From 07571157c91b98ce1a4aa70967531e64b78e8346 Mon Sep 17 00:00:00 2001
From: Tetsuo Handa <[email protected]>
Date: Mon, 12 Apr 2021 22:25:06 +0900
Subject: [PATCH] smackfs: restrict bytes count in smk_set_cipso()
Commit 7ef4c19d245f3dc2 ("smackfs: restrict bytes count in smackfs write
functions") missed that count > SMK_CIPSOMAX check applies to only
format == SMK_FIXED24_FMT case.
Reported-by: syzbot <[email protected]>
Signed-off-by: Tetsuo Handa <[email protected]>
Signed-off-by: Casey Schaufler <[email protected]>
Diffstat (limited to 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
