af_unix: Drop MSG_OOB support.
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 4 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | selftests: landlock: Replace MSG_OOB with O_ASYNC+F_SETSIG.tools/ tools/ | +22 | 1 reply | Applied |
| 2/4 | selftests: bpf: sockmap: Remove AF_UNIX MSG_OOB test case.tools/ | +11 | 2 replies | Applied |
| 3/4 | selftests: af_unix: Remove MSG_OOB tests.tools/ tools/ tools/ +2 more | +1 | 0 replies | Applied |
| 4/4 | af_unix: Remove MSG_OOB.include/ include/ net/ +1 more | +1 | 1 reply | Applied |
Reviews trailers per patch
1 of 4 patches has a Reviewed-by or Acked-by.
| Patch | Jiayuan Chen |
|---|---|
| 1/4 | |
| 2/4 | R-b |
| 3/4 | |
| 4/4 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v1 net-next 0/4] af_unix: Drop MSG_OOB support.
MSG_OOB implementation is quite buggy and has received many CVEs, which led to CONFIG_AF_UNIX_OOB, but the default is 'y' so it is enabled by major distros, even though there is no clear use case.
In addition, such bugs have changed user-visible MSG_OOB behaviour many times, but no one complained about that.
MSG_OOB is often used to upgrade a trivial bug to LPE.
We do not have good reason to maintain such an unused feature and expose many users to risk.
This series drops MSG_OOB support.
Kuniyuki Iwashima (4):
selftests: landlock: Replace MSG_OOB with O_ASYNC+F_SETSIG.
selftests: bpf: sockmap: Remove AF_UNIX MSG_OOB test case.
selftests: af_unix: Remove MSG_OOB tests.
af_unix: Remove MSG_OOB.
include/net/af_unix.h | 3 - include/net/dropreason-core.h | 6 - net/unix/Kconfig | 7 - net/unix/af_unix.c | 252 +---- .../selftests/bpf/prog_tests/sockmap_redir.c | 45 +- tools/testing/selftests/landlock/config | 1 - .../selftests/landlock/scoped_signal_test.c | 55 +- .../testing/selftests/net/af_unix/.gitignore | 1 - tools/testing/selftests/net/af_unix/Makefile | 1 - tools/testing/selftests/net/af_unix/config | 1 - tools/testing/selftests/net/af_unix/msg_oob.c | 958 ------------------ .../selftests/net/af_unix/scm_rights.c | 45 +- 12 files changed, 35 insertions(+), 1340 deletions(-) delete mode 100644 tools/testing/selftests/net/af_unix/msg_oob.c
Signature · 1 line
2.56.0.611.g1030f0b940-goog