Current-Users archive

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

Re: ccd error with two large components



Am 03.03.2024 um 19:55 schrieb Paul Goyette:
> I have two 2TB nvme devices, configured with ``ccdconfig ccd0 64
> none /dev/dk1 /dev/dk0''
> then i mount the ccd on /mnt
> and then ccdconfig -g goes boom!!
>
>  	prevented access to 0x7f7fff9e7fbc (SMAP)
>  	ccd_info_sysctl+77
>
> The instruction decode at that point is
>
>  	movl 0(%r8), %esi

That's this line:

> unit = *(const int *)newp;

I don't know at which point newp is validated; maybe that validation is
missing in this case, although I'd expect it to be in the common sysctl
infrastructure code.


Home | Main Index | Thread Index | Old Index