NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/56619: clear invalid sadb_sa returned by GETSPI?



>Number:         56619
>Category:       kern
>Synopsis:       clear invalid sadb_sa returned by GETSPI?
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 11 18:45:00 +0000 2022
>Originator:     Andrew Cagney
>Release:        trunk
>Organization:
>Environment:
NetBSD netbsdw 9.2 NetBSD 9.2 (GENERIC) #0: Wed May 12 13:15:55 UTC 2021  mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/i386/compile/GENERIC i386

>Description:
SADB_GETSPI returned:
| response sa:
|   sadb_sa_len: 2
|   sadb_sa_exttype: SADB_EXT_SA
|   sadb_sa_spi: 3374392707
|   sadb_sa_replay: 64
|   sadb_sa_state: 6
|   sadb_sa_auth: 228
|   sadb_sa_encrypt: 173
|   sadb_sa_flags: 3286935744
while the RFC says that only .sadb_sa_spi is valid, I'm surprised that other fields aren't zero.

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index