string: Add load_unaligned_zeropad() code path to sized_strscpy()
Status from this message: Applied to for-next/hardening, thanks!
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest2 patches 3 repliesApplied
- v42 patches 4 repliesSuperseded
- v32 patches 3 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 2 patches | 4 replies | Superseded |
Changes in v5 from the cover letter
- add test for unreadable first byte of strscpy() source
Patches in v5 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | string: Add load_unaligned_zeropad() code path to sized_strscpy()lib/ | +10 | 1 reply | |
| 2/2 | kasan: Add strscpy() test to trigger tag fault on arm64mm/ | +20 | 1 reply |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by.
| Patch | Andrey Konovalov | Catalin Marinas |
|---|---|---|
| 1/2 | R-b | |
| 2/2 | R-b | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v5 0/2] string: Add load_unaligned_zeropad() code path to sized_strscpy()
This series fixes an issue where strscpy() would sometimes trigger a false positive KASAN report with MTE.
v5:
- add test for unreadable first byte of strscpy() source
v4:
- clarify commit message
- improve comment
v3:
- simplify test case
Peter Collingbourne (1):
string: Add load_unaligned_zeropad() code path to sized_strscpy()
Vincenzo Frascino (1):
kasan: Add strscpy() test to trigger tag fault on arm64
lib/string.c | 13 ++++++++++--- mm/kasan/kasan_test_c.c | 20 ++++++++++++++++++++ 2 files changed, 30 insertions(+), 3 deletions(-)
Signature · 1 line
2.49.0.472.ge94155a9ec-goog