lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon,  9 Oct 2023 22:09:34 -0400
From: "Martin K. Petersen" <>
To: Bodo Stroesser <>, Kees Cook <>
Cc: "Martin K . Petersen" <>,,,
        Nathan Chancellor <>,
        Nick Desaulniers <>, Tom Rix <>,,,
Subject: Re: [PATCH] scsi: target: tcmu: Annotate struct tcmu_tmr with __counted_by

On Fri, 22 Sep 2023 10:53:01 -0700, Kees Cook wrote:

> Prepare for the coming implementation by GCC and Clang of the __counted_by
> attribute. Flexible array members annotated with __counted_by can have
> their accesses bounds-checked at run-time checking via CONFIG_UBSAN_BOUNDS
> (for array indexing) and CONFIG_FORTIFY_SOURCE (for strcpy/memcpy-family
> functions).
> As found with Coccinelle[1], add __counted_by for struct tcmu_tmr.
> [...]

Applied to 6.7/scsi-queue, thanks!

[1/1] scsi: target: tcmu: Annotate struct tcmu_tmr with __counted_by

Martin K. Petersen	Oracle Linux Engineering

Powered by blists - more mailing lists