A camera module, comprising: an imaging lens assembly, having an optical axis; and a driving device, comprising: a fixed component; a lens carrier, wherein the imaging lens assembly is disposed in the lens carrier; a magnet carrier, having a first groove group and a second groove group, wherein the first groove group extends along a first direction parallel to the optical axis, and the second groove group extends along a second direction perpendicular to the optical axis; a first ball group, disposed in the first groove group; and a second ball group, disposed in the second groove group; wherein one of the fixed component and the lens carrier has a third groove group, and another one of the fixed component and the lens carrier has a fourth groove group; the third groove group extends along a third direction being perpendicular to the optical axis and being different from the second direction and is disposed opposite to the second groove group, the second ball group is disposed in the third groove group, and the imaging lens assembly is movable with respect to the fixed component on a plane defined by the third direction and the second direction via the second ball group; the fourth groove group extends along the first direction parallel to the optical axis and is disposed opposite to the first groove group, the first ball group is disposed in the fourth groove group, and the imaging lens assembly is movable with respect to the fixed component along the first direction via the first ball group; wherein the third direction is orthogonal to the second direction, and each of the third groove group and the second groove group is in physical contact with the second ball group wherein the second ball group comprises at least one ball that is in two-points contact with one of the third groove group and the second groove group and in one-point contact with another one of the third groove group and the second groove group. an imaging lens assembly, having an optical axis; and a driving device, comprising: a fixed component; a lens carrier, wherein the imaging lens assembly is disposed in the lens carrier; a magnet carrier, having a first groove group and a second groove group, wherein the first groove group extends along a first direction parallel to the optical axis, and the second groove group extends along a second direction perpendicular to the optical axis; a first ball group, disposed in the first groove group; and a second ball group, disposed in the second groove group; a fixed component; a lens carrier, wherein the imaging lens assembly is disposed in the lens carrier; a magnet carrier, having a first groove group and a second groove group, wherein the first groove group extends along a first direction parallel to the optical axis, and the second groove group extends along a second direction perpendicular to the optical axis; a first ball group, disposed in the first groove group; and a second ball group, disposed in the second groove group; wherein one of the fixed component and the lens carrier has a third groove group, and another one of the fixed component and the lens carrier has a fourth groove group; the third groove group extends along a third direction being perpendicular to the optical axis and being different from the second direction and is disposed opposite to the second groove group, the second ball group is disposed in the third groove group, and the imaging lens assembly is movable with respect to the fixed component on a plane defined by the third direction and the second direction via the second ball group; the fourth groove group extends along the first direction parallel to the optical axis and is disposed opposite to the first groove group, the first ball group is disposed in the fourth groove group, and the imaging lens assembly is movable with respect to the fixed component along the first direction via the first ball group; wherein the third direction is orthogonal to the second direction, and each of the third groove group and the second groove group is in physical contact with the second ball group wherein the second ball group comprises at least one ball that is in two-points contact with one of the third groove group and the second groove group and in one-point contact with another one of the third groove group and the second groove group.