diff options
author | pjd <pjd@FreeBSD.org> | 2012-08-10 18:43:29 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2012-08-10 18:43:29 +0000 |
commit | 50fe3717a6a062e999254b82b00c757ffca8f8ad (patch) | |
tree | 57d9fc1ade18024ce1e3cf8aa4ede071116e2209 /sys/kern/sched_4bsd.c | |
parent | d8898a45d742f78af7f61c3cbf0447277f2f2ac4 (diff) | |
download | FreeBSD-src-50fe3717a6a062e999254b82b00c757ffca8f8ad.zip FreeBSD-src-50fe3717a6a062e999254b82b00c757ffca8f8ad.tar.gz |
Always initialize sc_ekey, because as of r238116 it is always used.
If GELI provider was created on FreeBSD HEAD r238116 or later (but before this
change), it is using very weak keys and the data is not protected.
The bug was introduced on 4th July 2012.
One can verify if its provider was created with weak keys by running:
# geli dump <provider> | grep version
If the version is 7 and the system didn't include this fix when provider was
initialized, then the data has to be backed up, underlying provider overwritten
with random data, system upgraded and provider recreated.
Reported by: Fabian Keil <fk@fabiankeil.de>
Tested by: Fabian Keil <fk@fabiankeil.de>
Discussed with: so
MFC after: 3 days
Diffstat (limited to 'sys/kern/sched_4bsd.c')
0 files changed, 0 insertions, 0 deletions