First published: Mon Jun 28 2010(Updated: )
Description of problem: While chasing a bug report involving a OS/2 server, I noticed the server sets pSMBr->CountHigh to a incorrect value even in case of normal writes. This results in 'nbytes' being computed wrongly and triggers a kernel BUG at mm/filemap.c. void iov_iter_advance(struct iov_iter *i, size_t bytes) { BUG_ON(i->count < bytes); <--- BUG here Why the server is setting 'CountHigh' is not clear but only does so after writing 64k bytes. Though this looks like the server bug, the client side crash may not be acceptable. The workaround is to mask off high 16 bits if the number of bytes written as returned by the server is greater than the bytes requested by the client. Upstream commit: <a href="http://git.kernel.org/linus/6513a81e9325d712f1bfb9a1d7b750134e49ff18">http://git.kernel.org/linus/6513a81e9325d712f1bfb9a1d7b750134e49ff18</a> (v2.6.34-rc4)
Credit: secalert@redhat.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/linux-2.6 | ||
Linux kernel | =2.6.11 | |
Linux kernel | =2.6.23.4 | |
Linux kernel | =2.6.16.16 | |
Linux kernel | =2.6.18.7 | |
Linux kernel | =2.6.17.12 | |
Linux kernel | =2.6.16.9 | |
Linux kernel | =2.6.17.9 | |
Linux kernel | =2.6.11.2 | |
Linux kernel | =2.6.5 | |
Linux kernel | =2.6.15.3 | |
Linux kernel | =2.6.11.10 | |
Linux kernel | =2.6.1 | |
Linux kernel | =2.6.16.6 | |
Linux kernel | =2.6.16.8 | |
Linux kernel | =2.6.33-rc6 | |
Linux kernel | =2.6.22.4 | |
Linux kernel | =2.6.14.7 | |
Linux kernel | =2.6.13 | |
Linux kernel | =2.6.17.2 | |
Linux kernel | =2.6.13.3 | |
Linux kernel | =2.6.11.8 | |
Linux kernel | =2.6.23.7 | |
Linux kernel | =2.6.17.8 | |
Linux kernel | =2.6.14.4 | |
Linux kernel | =2.6.14 | |
Linux kernel | =2.6.17.4 | |
Linux kernel | =2.6.16.18 | |
Linux kernel | =2.6.17.14 | |
Linux kernel | =2.6.10 | |
Linux kernel | =2.6.14.3 | |
Linux kernel | =2.6.34-rc2 | |
Linux kernel | =2.6.24-rc3 | |
Linux kernel | =2.6.18.3 | |
Linux kernel | =2.6.11.6 | |
Linux kernel | =2.6.11.11 | |
Linux kernel | =2.6.16.13 | |
Linux kernel | =2.6.3 | |
Linux kernel | =2.6.32 | |
Linux kernel | =2.6.16.4 | |
Linux kernel | <=2.6.34 | |
Linux kernel | =2.6.17.3 | |
Linux kernel | =2.6.32.3 | |
Linux kernel | =2.6.22 | |
Linux kernel | =2.6.4 | |
Linux kernel | =2.6.16.15 | |
Linux kernel | =2.6.15.6 | |
Linux kernel | =2.6.24-rc5 | |
Linux kernel | =2.6.34-rc1 | |
Linux kernel | =2.6.15.1 | |
Linux kernel | =2.6.11.5 | |
Linux kernel | =2.6.18.4 | |
Linux kernel | =2.6.33-rc1 | |
Linux kernel | =2.6.16.1 | |
Linux kernel | =2.6.18.1 | |
Linux kernel | =2.6.23.1 | |
Linux kernel | =2.6.2 | |
Linux kernel | =2.6.14.5 | |
Linux kernel | =2.6.13.2 | |
Linux kernel | =2.6.17.5 | |
Linux kernel | =2.6.24-rc4 | |
Linux kernel | =2.6.18.5 | |
Linux kernel | =2.6.33.2 | |
Linux kernel | =2.6.13.5 | |
Linux kernel | =2.6.17 | |
Linux kernel | =2.6.16.11 | |
Linux kernel | =2.6.16.14 | |
Linux kernel | =2.6.33-rc2 | |
Linux kernel | =2.6.16.25 | |
Linux kernel | =2.6.16.21 | |
Linux kernel | =2.6.8 | |
Linux kernel | =2.6.16.28 | |
Linux kernel | =2.6.17.10 | |
Linux kernel | =2.6.14.1 | |
Linux kernel | =2.6.16.23 | |
Linux kernel | =2.6.33.1 | |
Linux kernel | =2.6.12.5 | |
Linux kernel | =2.6.15.7 | |
Linux kernel | =2.6.22.7 | |
Linux kernel | =2.6.16.3 | |
Linux kernel | =2.6.24-rc1 | |
Linux kernel | =2.6.14.6 | |
Linux kernel | =2.6.12.1 | |
Linux kernel | =2.6.11.9 | |
Linux kernel | =2.6.33 | |
Linux kernel | =2.6.17.1 | |
Linux kernel | =2.6.0 | |
Linux kernel | =2.6.13.4 | |
Linux kernel | =2.6.23-rc2 | |
Linux kernel | =2.6.22.6 | |
Linux kernel | =2.6.23.3 | |
Linux kernel | =2.6.18.8 | |
Linux kernel | =2.6.22.3 | |
Linux kernel | =2.6.12.2 | |
Linux kernel | =2.6.16.31 | |
Linux kernel | =2.6.16.26 | |
Linux kernel | =2.6.18.2 | |
Linux kernel | =2.6.16.29 | |
Linux kernel | =2.6.23-rc1 | |
Linux kernel | =2.6.16 | |
Linux kernel | =2.6.15.2 | |
Linux kernel | =2.6.16.22 | |
Linux kernel | =2.6.17.11 | |
Linux kernel | =2.6.16.10 | |
Linux kernel | =2.6.12.4 | |
Linux kernel | =2.6.11.3 | |
Linux kernel | =2.6.33-rc3 | |
Linux kernel | =2.6.16.24 | |
Linux kernel | =2.6.23 | |
Linux kernel | =2.6.12.3 | |
Linux kernel | =2.6.23.2 | |
Linux kernel | =2.6.7 | |
Linux kernel | =2.6.32.4 | |
Linux kernel | =2.6.16.30 | |
Linux kernel | =2.6.15.4 | |
Linux kernel | =2.6.24-rc2 | |
Linux kernel | =2.6.16.17 | |
Linux kernel | =2.6.16.12 | |
Linux kernel | =2.6.16.27 | |
Linux kernel | =2.6.12.6 | |
Linux kernel | =2.6.17.7 | |
Linux kernel | =2.6.11.7 | |
Linux kernel | =2.6.16.2 | |
Linux kernel | =2.6.18.6 | |
Linux kernel | =2.6.15 | |
Linux kernel | =2.6.33-rc4 | |
Linux kernel | =2.6.23.5 | |
Linux kernel | =2.6.32.2 | |
Linux kernel | =2.6.17.6 | |
Linux kernel | =2.6.23.6 | |
Linux kernel | =2.6.16.7 | |
Linux kernel | =2.6.32.1 | |
Linux kernel | =2.6.17.13 | |
Linux kernel | =2.6.22.2 | |
Linux kernel | =2.6.8.1 | |
Linux kernel | =2.6.22.5 | |
Linux kernel | =2.6.16.5 | |
Linux kernel | =2.6.11.4 | |
Linux kernel | =2.6.16.19 | |
Linux kernel | =2.6.11.12 | |
Linux kernel | =2.6.16.20 | |
Linux kernel | =2.6.15.5 | |
Linux kernel | =2.6.11.1 | |
Linux kernel | =2.6.33-rc5 | |
Linux kernel | =2.6.9 | |
Linux kernel | =2.6.13.1 | |
Linux kernel | =2.6.6 | |
Linux kernel | =2.6.12 | |
Linux Kernel | <=2.6.34 | |
Linux Kernel | =2.6.0 | |
Linux Kernel | =2.6.1 | |
Linux Kernel | =2.6.2 | |
Linux Kernel | =2.6.3 | |
Linux Kernel | =2.6.4 | |
Linux Kernel | =2.6.5 | |
Linux Kernel | =2.6.6 | |
Linux Kernel | =2.6.7 | |
Linux Kernel | =2.6.8 | |
Linux Kernel | =2.6.8.1 | |
Linux Kernel | =2.6.9 | |
Linux Kernel | =2.6.10 | |
Linux Kernel | =2.6.11 | |
Linux Kernel | =2.6.11.1 | |
Linux Kernel | =2.6.11.2 | |
Linux Kernel | =2.6.11.3 | |
Linux Kernel | =2.6.11.4 | |
Linux Kernel | =2.6.11.5 | |
Linux Kernel | =2.6.11.6 | |
Linux Kernel | =2.6.11.7 | |
Linux Kernel | =2.6.11.8 | |
Linux Kernel | =2.6.11.9 | |
Linux Kernel | =2.6.11.10 | |
Linux Kernel | =2.6.11.11 | |
Linux Kernel | =2.6.11.12 | |
Linux Kernel | =2.6.12 | |
Linux Kernel | =2.6.12.1 | |
Linux Kernel | =2.6.12.2 | |
Linux Kernel | =2.6.12.3 | |
Linux Kernel | =2.6.12.4 | |
Linux Kernel | =2.6.12.5 | |
Linux Kernel | =2.6.12.6 | |
Linux Kernel | =2.6.13 | |
Linux Kernel | =2.6.13.1 | |
Linux Kernel | =2.6.13.2 | |
Linux Kernel | =2.6.13.3 | |
Linux Kernel | =2.6.13.4 | |
Linux Kernel | =2.6.13.5 | |
Linux Kernel | =2.6.14 | |
Linux Kernel | =2.6.14.1 | |
Linux Kernel | =2.6.14.3 | |
Linux Kernel | =2.6.14.4 | |
Linux Kernel | =2.6.14.5 | |
Linux Kernel | =2.6.14.6 | |
Linux Kernel | =2.6.14.7 | |
Linux Kernel | =2.6.15 | |
Linux Kernel | =2.6.15.1 | |
Linux Kernel | =2.6.15.2 | |
Linux Kernel | =2.6.15.3 | |
Linux Kernel | =2.6.15.4 | |
Linux Kernel | =2.6.15.5 | |
Linux Kernel | =2.6.15.6 | |
Linux Kernel | =2.6.15.7 | |
Linux Kernel | =2.6.16 | |
Linux Kernel | =2.6.16.1 | |
Linux Kernel | =2.6.16.2 | |
Linux Kernel | =2.6.16.3 | |
Linux Kernel | =2.6.16.4 | |
Linux Kernel | =2.6.16.5 | |
Linux Kernel | =2.6.16.6 | |
Linux Kernel | =2.6.16.7 | |
Linux Kernel | =2.6.16.8 | |
Linux Kernel | =2.6.16.9 | |
Linux Kernel | =2.6.16.10 | |
Linux Kernel | =2.6.16.11 | |
Linux Kernel | =2.6.16.12 | |
Linux Kernel | =2.6.16.13 | |
Linux Kernel | =2.6.16.14 | |
Linux Kernel | =2.6.16.15 | |
Linux Kernel | =2.6.16.16 | |
Linux Kernel | =2.6.16.17 | |
Linux Kernel | =2.6.16.18 | |
Linux Kernel | =2.6.16.19 | |
Linux Kernel | =2.6.16.20 | |
Linux Kernel | =2.6.16.21 | |
Linux Kernel | =2.6.16.22 | |
Linux Kernel | =2.6.16.23 | |
Linux Kernel | =2.6.16.24 | |
Linux Kernel | =2.6.16.25 | |
Linux Kernel | =2.6.16.26 | |
Linux Kernel | =2.6.16.27 | |
Linux Kernel | =2.6.16.28 | |
Linux Kernel | =2.6.16.29 | |
Linux Kernel | =2.6.16.30 | |
Linux Kernel | =2.6.16.31 | |
Linux Kernel | =2.6.17 | |
Linux Kernel | =2.6.17.1 | |
Linux Kernel | =2.6.17.2 | |
Linux Kernel | =2.6.17.3 | |
Linux Kernel | =2.6.17.4 | |
Linux Kernel | =2.6.17.5 | |
Linux Kernel | =2.6.17.6 | |
Linux Kernel | =2.6.17.7 | |
Linux Kernel | =2.6.17.8 | |
Linux Kernel | =2.6.17.9 | |
Linux Kernel | =2.6.17.10 | |
Linux Kernel | =2.6.17.11 | |
Linux Kernel | =2.6.17.12 | |
Linux Kernel | =2.6.17.13 | |
Linux Kernel | =2.6.17.14 | |
Linux Kernel | =2.6.18.1 | |
Linux Kernel | =2.6.18.2 | |
Linux Kernel | =2.6.18.3 | |
Linux Kernel | =2.6.18.4 | |
Linux Kernel | =2.6.18.5 | |
Linux Kernel | =2.6.18.6 | |
Linux Kernel | =2.6.18.7 | |
Linux Kernel | =2.6.18.8 | |
Linux Kernel | =2.6.22 | |
Linux Kernel | =2.6.22.2 | |
Linux Kernel | =2.6.22.3 | |
Linux Kernel | =2.6.22.4 | |
Linux Kernel | =2.6.22.5 | |
Linux Kernel | =2.6.22.6 | |
Linux Kernel | =2.6.22.7 | |
Linux Kernel | =2.6.23 | |
Linux Kernel | =2.6.23-rc1 | |
Linux Kernel | =2.6.23-rc2 | |
Linux Kernel | =2.6.23.1 | |
Linux Kernel | =2.6.23.2 | |
Linux Kernel | =2.6.23.3 | |
Linux Kernel | =2.6.23.4 | |
Linux Kernel | =2.6.23.5 | |
Linux Kernel | =2.6.23.6 | |
Linux Kernel | =2.6.23.7 | |
Linux Kernel | =2.6.24-rc1 | |
Linux Kernel | =2.6.24-rc2 | |
Linux Kernel | =2.6.24-rc3 | |
Linux Kernel | =2.6.24-rc4 | |
Linux Kernel | =2.6.24-rc5 | |
Linux Kernel | =2.6.32 | |
Linux Kernel | =2.6.32.1 | |
Linux Kernel | =2.6.32.2 | |
Linux Kernel | =2.6.32.3 | |
Linux Kernel | =2.6.32.4 | |
Linux Kernel | =2.6.33 | |
Linux Kernel | =2.6.33-rc1 | |
Linux Kernel | =2.6.33-rc2 | |
Linux Kernel | =2.6.33-rc3 | |
Linux Kernel | =2.6.33-rc4 | |
Linux Kernel | =2.6.33-rc5 | |
Linux Kernel | =2.6.33-rc6 | |
Linux Kernel | =2.6.33.1 | |
Linux Kernel | =2.6.33.2 | |
Linux Kernel | =2.6.34-rc1 | |
Linux Kernel | =2.6.34-rc2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2010-2248 has been assigned a medium severity level due to potential system instability.
To fix CVE-2010-2248, update your Linux kernel to version 2.6.34 or later.
CVE-2010-2248 affects multiple versions of the Linux kernel, specifically versions from 2.6.0 to 2.6.34 inclusive.
CVE-2010-2248 is a kernel bug that can lead to improper memory management and potential system crashes.
While the best solution is to update the kernel, temporarily avoiding heavy write operations may mitigate immediate impacts.