CX8800 module vs PAX_SIZE_OVERFLOW.

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

CX8800 module vs PAX_SIZE_OVERFLOW.

Postby jacekalex » Wed Apr 03, 2013 8:31 am

Hi

I have a problem with cx8800 module.
This interferes with the function module PAX_SIZE_OVERFLOW, which means that the module is not at all today.
This problem occurs in all patches to the kernel 3.8.4 and grsecurity-2.9.1-3.8.5-201303292018.patch
Last patch, which worked properly CX8800 and PAX_SIZE_OVERFLOW it was grsecurity-2.9.1-3.8.3-201303142235.patch

dmesg reports:
Code: Select all
[   23.482409] cx88[0]/0: registered device video0 [v4l2]
[   23.482443] cx88[0]/0: registered device vbi0
[   23.482447] PAX: size overflow detected in function cx8800_initdev drivers/media/pci/cx88/cx88-video.c:1891 cicus.169_277 max, count: 29
[   23.482462]  [<ffffffffa002c3fa>] ? __param_str_vbibufs+0xea/0xea [cx8800]
[   23.482467]  [<ffffffffa002c790>] ? .LC10+0x396/0x7ee [cx8800]
[   23.482477]  [<ffffffffa002c852>] ? .LC10+0x458/0x7ee [cx8800]
[   23.482482]  [<ffffffffa0029ce7>] cx8800_initdev+0x604/0x7f6 [cx8800]
[   23.482487]  [<ffffffffa002ab88>] ? cx8800_vid_ctls+0x118/0x140 [cx8800]
[   23.482492]  [<ffffffffa002a8e0>] ? __kcrctab_cx88_video_mux+0x38/0x38 [cx8800]
[   23.482521]  [<ffffffffa002c3b2>] ? __param_str_vbibufs+0xa2/0xea [cx8800]
[   23.482529]  [<ffffffffa002c3b2>] ? __param_str_vbibufs+0xa2/0xea [cx8800]
[   23.482543]  [<ffffffffa002f033>] cx8800_init+0x33/0x2d9b [cx8800]
[   23.482558]  [<ffffffffa002f038>] ? cx8800_init+0x38/0x2d9b [cx8800]


Is this a bug that will be fixed once :) , and some modules will in the future opt-out of this feature? :(

Cheers
8)
jacekalex
 
Posts: 39
Joined: Tue Jan 11, 2011 2:16 pm

Re: CX8800 module vs PAX_SIZE_OVERFLOW.

Postby ephox » Wed Apr 03, 2013 5:24 pm

Thanks for the report. :) The kernel code was wrong in this case. It will be fixed in the next grsec patch.
ephox
 
Posts: 134
Joined: Tue Mar 20, 2012 4:36 pm

Re: CX8800 module vs PAX_SIZE_OVERFLOW.

Postby jacekalex » Thu Apr 04, 2013 9:36 am

Thanks

This patch
grsecurity-2.9.1-3.8.5-201304032222.patch
works fine. :)

Cheers
8)
jacekalex
 
Posts: 39
Joined: Tue Jan 11, 2011 2:16 pm


Return to grsecurity support

cron