Skip to content
  1. Apr 14, 2023
  2. Apr 11, 2023
  3. Apr 08, 2023
  4. Apr 07, 2023
    • YueHaibing's avatar
      tcp: restrict net.ipv4.tcp_app_win · dc5110c2
      YueHaibing authored
      
      
      UBSAN: shift-out-of-bounds in net/ipv4/tcp_input.c:555:23
      shift exponent 255 is too large for 32-bit type 'int'
      CPU: 1 PID: 7907 Comm: ssh Not tainted 6.3.0-rc4-00161-g62bad54b26db-dirty #206
      Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.15.0-1 04/01/2014
      Call Trace:
       <TASK>
       dump_stack_lvl+0x136/0x150
       __ubsan_handle_shift_out_of_bounds+0x21f/0x5a0
       tcp_init_transfer.cold+0x3a/0xb9
       tcp_finish_connect+0x1d0/0x620
       tcp_rcv_state_process+0xd78/0x4d60
       tcp_v4_do_rcv+0x33d/0x9d0
       __release_sock+0x133/0x3b0
       release_sock+0x58/0x1b0
      
      'maxwin' is int, shifting int for 32 or more bits is undefined behaviour.
      
      Fixes: 1da177e4 ("Linux-2.6.12-rc2")
      Signed-off-by: default avatarYueHaibing <yuehaibing@huawei.com>
      Reviewed-by: default avatarEric Dumazet <edumazet@google.com>
      Reviewed-by: default avatarKuniyuki Iwashima <kuniyu@amazon.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      dc5110c2
  5. Apr 06, 2023
  6. Apr 04, 2023
  7. Mar 29, 2023
  8. Mar 22, 2023
  9. Mar 17, 2023
    • Jakub Kicinski's avatar
      ynl: broaden the license even more · 4e16b6a7
      Jakub Kicinski authored
      
      
      I relicensed Netlink spec code to GPL-2.0 OR BSD-3-Clause but
      we still put a slightly different license on the uAPI header
      than the rest of the code. Use the Linux-syscall-note on all
      the specs and all generated code. It's moot for kernel code,
      but should not hurt. This way the licenses match everywhere.
      
      Cc: Chuck Lever <chuck.lever@oracle.com>
      Fixes: 37d9df22 ("ynl: re-license uniformly under GPL-2.0 OR BSD-3-Clause")
      Reviewed-by: default avatarChuck Lever <chuck.lever@oracle.com>
      Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
      4e16b6a7
  10. Mar 14, 2023
  11. Mar 12, 2023
  12. Mar 11, 2023
  13. Mar 09, 2023
  14. Mar 08, 2023
  15. Mar 07, 2023
  16. Mar 06, 2023
  17. Mar 03, 2023
  18. Mar 02, 2023
  19. Feb 28, 2023
  20. Feb 27, 2023
  21. Feb 26, 2023
Loading